Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Nov 2005
    Location
    Rochester, New York
    Posts
    159
    Plugin Contributions
    0

    Default 403 Error when downloading

    I have several files that download. Some for free and some after payment. I have tested them and everything was working but now I am getting:
    Forbidden
    You don't have permission to access /store/pub/.wedejlyoprygvnhb/foiapkg.zip on this server.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    I have a fresh copy of 1.3 with the 1.31 upgrade. All items were put on fresh. I have a unix server and set all permissions as you require. The pub folder is set at 777 I re-uploaded all the zip files which are all less than 50k. No changes to my sever was made according to the host. Am I doing something wrong?

  2. #2
    Join Date
    Nov 2005
    Location
    Rochester, New York
    Posts
    159
    Plugin Contributions
    0

    Default Re: 403 Error when downloading

    I forgot to mention, my url is rochesterlaw.org/store/ if you try ordering a free item you will see what I am talking about. I also check and re-uploaded the .htaccess file thinking that may be it. Still can't figure it out. I did not see any threads on this.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: 403 Error when downloading

    Set /pub to 777

    Does this help?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  4. #4
    Join Date
    Nov 2005
    Location
    Rochester, New York
    Posts
    159
    Plugin Contributions
    0

    Default Re: 403 Error when downloading

    pub is set at 777

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: 403 Error when downloading

    Scratch that ...

    Check that even though you set /pub to 777 it really is 777

    Then check if this is correct, if you turn Redirect to OFF does it work?

    Check the two .htaccess files in /pub and /download match

    Your files should be in /download and not in subdirectories for it ...

    You should not have spaces, special characters etc. and it would be best if Zipped ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: 403 Error when downloading

    Also, how large are your files?

    If large, do tiny zips work?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  7. #7
    Join Date
    Nov 2005
    Location
    Rochester, New York
    Posts
    159
    Plugin Contributions
    0

    Default Re: 403 Error when downloading

    I went on my cpanel for the site and found that the pub folder is at 777. I also looked at the htaccess files which were downloaded from the 1.31.full version. The download is:
    #prevent directory browsing -- for security
    IndexIgnore */*

    AuthType Basic
    AuthName "No access"
    AuthUserFile .htnopasswd
    AuthGroupFile /dev/null
    Require valid-user

    And the pub is:
    #prevent directory browsing -- for security
    IndexIgnore */*

    Options +FollowSymLinks -Indexes

    I do not have any spaces in the zip files and they are all zipped and under 50K

    Where is re-direct found

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: 403 Error when downloading

    Okay ... turn of the Redirect in the Attribute Settings ...

    A lot of hosting sites for some reason do not set you up so that the symbolic links in the .htaccess work ... go figure?

    See if turning that off works ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  9. #9
    Join Date
    Nov 2005
    Location
    Rochester, New York
    Posts
    159
    Plugin Contributions
    0

    Default Re: 403 Error when downloading

    I did shut the redirect off in admin/attributes. It will pop up and ask to save. Why would it work when I set it up and then stop. If this is the way it has to work, fine, just curious and thanks for your help!
    Last edited by sparktronic; 8 Jun 2006 at 05:06 AM.

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: 403 Error when downloading

    If you are asking why does the Redirect OFF make this work, it is because your hosting site does not have you configured to utilize the symbolic links where your downloads are hidden before downloading ...

    You could ask them why that does not work for you ... just send them the contents of the .htaccess file and they should be able to fix it or explain why they won't ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 
Page 1 of 2 12 LastLast

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
  •