Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1

    Default 403 error before setup??

    Hi all, got another odd problem. I’ve uploaded a clean site to a namesco server only to get an instant 403 error. Being a 403 the error log says next to nothing and I have no idea what to do. Checked the file permisions and they are 0771 on all folders and 0660 on php and 0664 on html, txt and images.
    Anyone had this problem before? Namesco are less than useless for support and just said they won’t help with code.
    www.stgeorges-school.co.uk

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

    Default Re: 403 error before setup??

    Remember, 403 = Forbidden. So generally speaking that's either a permissions issue on the filesystem or a rules/access issue in the webserver engine's security setup (ie: consider .htaccess or httpd.conf settings if this were Apache).

    Can't see how it would be a code issue.
    .

    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

    Default Re: 403 error before setup??

    Right so it is down to them.
    Thanks for your help as ever

  4. #4
    Join Date
    Jan 2004
    Posts
    58,242
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: 403 error before setup??

    Have you tried using higher permissions on the last "bit"? ie: 771 and 660 are quite restrictive for that last setting, the public one. 755 and 644 are more common.
    Their tech support and/or online support docs could clarify whether that makes a difference given the way they've configured their servers. And of course your own testing might reveal some things too.


    But when a host does things that are unusual like that, and when their support isn't capable of helping at the level required, it begs the question: why not use a better host?
    .

    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

    Default Re: 403 error before setup??

    Little update.
    Namesco redeemed themselves a little and told me that the problem was the .htaccess file in the zc_install folder. Deleted it and the install went through without a hitch. Trouble I have now is all the .htaccess files are blocking every folder that I’ve tried.
    Very grateful for any advice

  6. #6
    Join Date
    Jan 2004
    Posts
    58,242
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: 403 error before setup??

    Windoze Servers running IIS habitually don't like .htaccess files. You'll need to find different ways of providing the same security protections using whatever tools your hosting company offers.
    .

    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.

  7. #7
    Join Date
    May 2012
    Posts
    3
    Plugin Contributions
    0

    Default Re: 403 error before setup??

    I have this problem too on a brand new installation.

    I deleted the .htaccess file and ZC installed fine. I ran through all the security recommendations and measures and changed file/directory CHMOD permissions, etc..... I didn't like not having the .htaccess file there so re-uploaded it and now the store is back to 403 Forbidden....?

    I'm not having problems with .htaccess files in my WordPress installation or any other directories in the public-html folder.

    My site is with HostGator running on LinuxCentOS?

  8. #8
    Join Date
    May 2012
    Posts
    3
    Plugin Contributions
    0

    Default Re: 403 error before setup??

    Just to clarify: the .htaccess file was the one located in the top level folder for the store which has now been re-uploaded; the zc_install folder has been deleted to complete the security measures.

  9. #9
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,974
    Plugin Contributions
    0

    Default Re: 403 error before setup??

    Quote Originally Posted by whitespace View Post
    Just to clarify: the .htaccess file was the one located in the top level folder for the store which has now been re-uploaded; the zc_install folder has been deleted to complete the security measures.
    Native Zencart does not have a htaccess file in the root.

    Where did yours come from?

  10. #10
    Join Date
    Jan 2004
    Posts
    58,242
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: 403 error before setup??

    Zen Cart doesn't supply a .htaccess for the root of your site. That's up to you. If you have added one and it's causing you problems, then remove it. Then re-think what you're putting into the file and sort out what part of it is causing you problems.

    Zen Cart only supplies .htaccess files for subdirectories within the Zen Cart folders. It does not need one at the top level in order to operate. Anything you add to the top level is entirely at your own discretion.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Database setup error Help!!
    By 3dsgiftsnThings in forum Installing on a Windows Server
    Replies: 9
    Last Post: 13 Mar 2010, 10:22 PM
  2. Error after database setup...
    By j_tai in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 22 Aug 2006, 09:17 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
  •