Infinite redirect loop - reinstalled SSL certificate

highlander

Verified User
Joined
May 20, 2013
Messages
16
Hi, my server and website were working fine.

Today I put in my new SSL certificate, private key (unchanged), and CA cert.

Right now my website is stuck in a redirect loop. It just gets 302s until it aborts.

I've tried loading the site in different browers.

I've cleared cache and cookies.

I've disabled all mod_rewrite code. Haven't changed mod_rewrite code anyway.

I made a test file that just contains 'hello' just to make sure it's not code in my index.php.

No dice. Just a whole lot of redirects.

I've gotten nowhere on my own and changing the SSL certs is the only thing that's changed recently.

Any ideas?

Thanks!!!
 
Did you try restarting apache. Did you look in apache logs?
 
Yes, of course! :)

The reason I was messing around with SSL certificates was that I successfully installed the new cert for my website. However, whenever I'd visit the DirectAdmin login screen (via my browser) I'd get a message saying the site was not secure; it was using the old certificate just for the DirectAdmin admin site.

The apache access log says:
[10/Mar/2014:09:34:16 -0700] "GET / HTTP/1.1" 302 510
 
Fixed! There was a redirect command in

/usr/local/directadmin/data/users/admin/domains/mydomain.com/clickbitz.com.cust_httpd

The bizarre thing is that redirect command wasn't active before. I had used that command in the past but it was not active. Maybe the file got written when I updated SSL!
 
Back
Top