Reputation: 21830
I am working on a site that, when accessed via http
, gets auto redirected to https
. We're trying to determine where this is occurring. So far we've looked in the following places:
.htaccess
httpd.conf
I'm thinking there could be some other conf
file in apache that this redirect stuff would be occurring..
where else should I look?
Upvotes: 4
Views: 207
Reputation: 21830
Since the sites are served by a load balancer, it turns out that the redirect to https logic was actually being implemented at the load balancer level.
Upvotes: 1
Reputation: 2864
Sometimes I had this error too until I find out, that for firefox it is useless to edit anything as long as the cache is active. Since then I deactivate the cache with the help of web developer.
Upvotes: 2
Reputation: 3369
I have had this same exact problem before. Did you take a look in your vhost file(s)?
Usually stored in /etc/httpd/conf/vhosts/
My bet is you have a general rule to redirect such as www.google.com/cars/* will always redirect to https.
Upvotes: 2