Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Posts
    271
    Plugin Contributions
    0

    Default .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

  2. #2
    Join Date
    Jan 2004
    Posts
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

    Default 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.


    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!
    Donations always welcome: www.zen-cart.com/donate

    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.

 

 

Similar Threads

  1. .htaccess redirect makes admin login fail
    By jlknauff in forum General Questions
    Replies: 14
    Last Post: 16 Sep 2010, 02:22 PM
  2. Replies: 1
    Last Post: 26 Aug 2008, 01:41 AM
  3. Login and Admin pages have changed
    By jund in forum General Questions
    Replies: 3
    Last Post: 2 May 2007, 11:12 PM
  4. Admin login with https but refreshes http?
    By dnuttall in forum Basic Configuration
    Replies: 5
    Last Post: 10 Feb 2007, 08:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •