Zen Cart Logo
Forums / General Questions / 403 FORBIDDEN on product download

403 FORBIDDEN on product download

Locked

Views: 1,651

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
2 May 2009, 9:28 AM
#1
bilbothecat avatar

bilbothecat

New Zenner

Join Date:
Nov 2008
Location:
England
Posts:
8
Plugin Contributions:
0

403 FORBIDDEN on product download

Hi - help required please!

I am running latest Zen-Cart on certified host Terra Network.

Nothing special added, file permissions and .htaccess as "out of the box" but.........

When I purchase one of my downloadable products I get thrown 403 Forbidden page with the following:
"Forbidden

You don't have permission to access /shopfront/pub/.zxkygsib...etc on this server.

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

This would suggest the product is configured properly as it is moving from downloads via SymLink to pub, and that it is a permission issue - but which I know not.

I have searched forum and web and found lots of similar reports going back to 2004 but these are all due to some basic error or rubbish host.

I need help on this as site needs to go live yesterday.

Thanks in advance.

2 May 2009, 4:39 PM
#2
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: 403 FORBIDDEN on product download

Permissions for the 'pub' dir. should be either 755 or 777 but best to confirm to your Hoster which one to use.

3 May 2009, 6:10 AM
#3
bilbothecat avatar

bilbothecat

New Zenner

Join Date:
Nov 2008
Location:
England
Posts:
8
Plugin Contributions:
0

Re: 403 FORBIDDEN on product download

Thanks Website Rob
When I said "Nothing special added, file permissions and .htaccess as "out of the box" but........." I obviously tested both 777 and 755.

Are there any file type restrictions that may affect this?

3 May 2009, 8:26 AM
#4
hornyroo avatar

hornyroo

New Zenner

Join Date:
May 2009
Posts:
4
Plugin Contributions:
0

Re: 403 FORBIDDEN on product download

Hi, i dont want to jump in, but ive just joined the forums because im having exactly the same issue.

ive tested on both 777 and 755

very fustrated..

3 May 2009, 8:36 AM
#5
hornyroo avatar

hornyroo

New Zenner

Join Date:
May 2009
Posts:
4
Plugin Contributions:
0

Re: 403 FORBIDDEN on product download

keep getting this error message when i download a product..

Forbidden
You don't have permission to access /store/pub/.qhvmmsletmtmgpne/CUOverLays1ByROO.zip on this server.

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


Apache/2.0.54 (Debian GNU/Linux) mod_auth_pgsql/2.0.1 mod_ssl/2.0.54 OpenSSL/0.9.7d mod_perl/1.999.21 Perl/v5.8.4 Server at !!!store link goes here!!! Port 80

latest version of zen, permissions on folder r set to 777, have been tested on 775

ty for your help

3 May 2009, 11:45 PM
#6
hornyroo avatar

hornyroo

New Zenner

Join Date:
May 2009
Posts:
4
Plugin Contributions:
0

Re: 403 FORBIDDEN on product download

hey i managed to fix mine

got to admin-configuration-attribute settings-and turn OFF download by redirect.. mine started downloading perfect, even from subdirectories..

4 May 2009, 6:40 AM
#7
bilbothecat avatar

bilbothecat

New Zenner

Join Date:
Nov 2008
Location:
England
Posts:
8
Plugin Contributions:
0

Re: 403 FORBIDDEN on product download

Thanks all that have responded but having contacted Terra Network to see if there was a way they might help me to get it working they advised that they don't run SymLinks on their servers for security reasons!

Downloads work fine with Redirect off, and Streaming both off and on but because Zen-Cart has "application/octet-stream Content-Disposition attachment" set by default they are downloaded by customers as attachments with Open/Save dialog box.

I am selling a page (html or php doesn't matter) so I want download link to open the page. My skills with .htaccess syntax are poor - anyone know how to overide this?