Forums / General Questions / .htaccess changed to redirect to https now cant login to admin

.htaccess changed to redirect to https now cant login to admin

Locked

Started by makenoiz on 3 Sep 2008, 6:42 AM · Views: 1,854

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
3 Sep 2008, 6:42 AM
#1
makenoiz avatar

makenoiz

Zen Follower

Join Date:
Mar 2006
Posts:
284
Plugin Contributions:
0

.htaccess changed to redirect to https now cant login to admin

I placed the following in my htaccess:
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

And now my admin log in will not work.

Any ideas?

Thanks

22 stores and counting! Ive been zenned.

3 Sep 2008, 6:48 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: .htaccess changed to redirect to https now cant login to admin

If putting that in your .htaccess broke it, then I'd suggest undoing whatever you did. :smartalec:

And then the next question is ... "why" did you do that in the first place?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.