Results 1 to 7 of 7
  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
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    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!
    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

    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
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

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

  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
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

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

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

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

 

 

Similar Threads

  1. Can I setup the cart so users need to login before shopping?
    By foochuck in forum General Questions
    Replies: 4
    Last Post: 7 Jul 2009, 08:55 PM
  2. System setup - HTTP error 403
    By bexford in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 28 May 2007, 01:56 PM
  3. System setup - HTTP error 403
    By bexford in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 28 May 2007, 10:15 AM
  4. Testing setup before switching domain?
    By Pitrow in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 27 Mar 2007, 10:30 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR