Thread: admin .htaccess

Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    221
    Plugin Contributions
    1

    Default admin .htaccess

    In the admin folder .htaccess file, the following was added (I assume during the install process) at the bottom:

    Code:
    AuthName "admin"
    AuthUserFile "/home/username/.htpasswds/public_html/old_zencart_directory/admin/passwd"
    That folder path exists on server, but the actual cart install folder has been moved to another folder and the admin folder has been renamed.

    Should this be removed from the .htaccess file as it doesn't actually match my zen cart location anymore?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: admin .htaccess

    Zen Cart DOES NOT automatically add any "AuthName" or "AuthUserFile" parameters at install time or any other time.

    Those lines must have been added by you or by your website hosting control panel by attempting to set a password on that folder.

    Your options:
    a) delete those lines
    b) update those lines
    Either can be done manually or via your hosting control panel.

    Again, Zen Cart has NO interaction with those settings at all.
    .

    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.

  3. #3
    Join Date
    Mar 2009
    Posts
    221
    Plugin Contributions
    1

    Default Re: admin .htaccess

    Thanks for jogging my memory... A year ago when I first installed zen cart, I had set a password on the admin folder via cPanel.

    I'll delete this from the .htaccess.

    Thanks.

 

 

Similar Threads

  1. v150 .htaccess and Admin Area Problem
    By Sanguinarius in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 16 Mar 2013, 11:45 PM
  2. Extra admin security by changed .htaccess?
    By luciano9876 in forum General Questions
    Replies: 0
    Last Post: 11 Apr 2011, 09:58 AM
  3. HTACCESS, IEPNGFIX, and ADMIN Dilema
    By DBB1 in forum General Questions
    Replies: 7
    Last Post: 26 Jan 2009, 01:54 AM
  4. .htaccess admin authentication?
    By diixo in forum Basic Configuration
    Replies: 7
    Last Post: 7 Mar 2008, 10:31 PM
  5. htaccess file missing in admin
    By Carnafeagh in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 17 Mar 2007, 07:05 PM

Posting Permissions

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