This issue has a few different layers to it.
- I'm running a site over https. The issue I'm having is that ajax calls are being made over http, despite having relative urls.
- After looking into it, this is due to the base url having the http:// prefix instead of https://
- When I try to enable the 'force_ss' option to fix the base url, apache sends me into an infinite redirect loop.
Our server is setup behind a load balancer that handles the https request. For example. You hit http://www.example.com. The load balancer will handle the ssl and then send the traffic to the Joomla servers using port 80.
What I think is happening is that Joomla is seeing it come over port 80, thinking that its not ssl, then redirecting it to be ssl which is sending it back to the load balancer.
I've also set my $live_site configuation to be https but it didn't help. JUri::base() is return https, however.
Is there a way to force the base url to be https:// in joomla while handling traffic over port 80?
//www.example.com
?