Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2009
    Location
    Chicago, IL.
    Posts
    201
    Plugin Contributions
    0

    Default .htaccess file for root directory needed

    I have accidentally deleted the .htaccess file that goes in the root directory of the site.( same folder as ipn_main_handler.php and page_not_found.php)

    Can someone please post the code here or if its unsafe , please PM it to me.

    Fast help appreciated.

  2. #2
    Join Date
    Jan 2004
    Posts
    60,443
    Blog Entries
    4
    Plugin Contributions
    51

    Default Re: .htaccess file for root directory needed

    Zen Cart DOES NOT have, supply, nor need a .htaccess for the root of the site.
    If *you* want to add one for yourself, feel free.
    But Zen Cart doesn't need one. That's why there isn't one in the distribution files for Zen Cart.
    .

    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.



  3. #3
    Join Date
    Nov 2009
    Location
    Chicago, IL.
    Posts
    201
    Plugin Contributions
    0

    Default Re: .htaccess file for root directory needed

    Got it.

    Should I create one as mentioned here and upload it?

    http://tutorials.zen-cart.com/index.php?article=398


    I am on a linux server running 1.3.8a

  4. #4
    Join Date
    Jan 2004
    Posts
    60,443
    Blog Entries
    4
    Plugin Contributions
    51

    Default Re: .htaccess file for root directory needed

    That depends: are you encountering hacker activity?

    And, why are you running an old version of Zen Cart that's vulnerable to hackers?
    .

    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.



  5. #5
    Join Date
    Nov 2009
    Location
    Chicago, IL.
    Posts
    201
    Plugin Contributions
    0

    Default Re: .htaccess file for root directory needed

    I was hacked 6 months ago and it was a mess.

    At the present time, I have installed all other patches and fixes that you have mentioned in this permanent post.

    http://www.zen-cart.com/forum/showthread.php?t=131115

    I am a little bit uncomfortable to upgrade to 1.3.9e myself. I have solicited some paid help and hopefully it will be upgraded soon. Also, I am running my store on a template, and not sure if that template will work with zc1.3.9, and other 20 mods that I have installed. So I guess in a way i am also waiting until all those mods are revised.

 

 

Similar Threads

  1. .htaccess to direct from /catalog/ to root
    By Doodlebuckets in forum General Questions
    Replies: 5
    Last Post: 24 Oct 2009, 07:47 PM
  2. .htaccess file in root directory- yes or no?
    By ttoonz in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 25 Nov 2008, 01:45 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
  •