Zen Cart Logo
Forums / General Questions / Downloadable products; *not* a 'how do i...'

Downloadable products; *not* a 'how do i...'

Locked

Views: 1,198

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
2 Jun 2007, 2:11 PM
#1
paradisesolutions avatar

paradisesolutions

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

Downloadable products; *not* a 'how do i...'

Hi all

Not entirely sure if this is the right place for this post, but I guess it will get moved if it isn't.

I have a downloadable product configured in my system, the attributes are set, the download manager has given the file the green light and i have the link against the order to download the document in question. Trouble is, when the link is used I get a 500 internal server error - was wondering if anyone could shed any light on if this is a permissions thing, possibly something in one of the configs I should check, or something I need to raise a support ticket about to my hosting provider?

Many thanks

Paul

2 Jun 2007, 3:46 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,611
Plugin Contributions:
0

Re: Downloadable products; *not* a 'how do i...'

Windows or Linux server?

2 Jun 2007, 3:58 PM
#3
paradisesolutions avatar

paradisesolutions

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

Re: Downloadable products; *not* a 'how do i...'

Gah! knew I'd miss something off the first post.

Server is linux - downloads are set to redirect. download and pub directories are chmod'd to 777.

Many thanks

paul

2 Jun 2007, 5:10 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Downloadable products; *not* a 'how do i...'

The /pub is 777 the /download is 755

Downloads go in the /download

With Redirect ON, which should work on unix servers ... if there is a problem first try a small download file such as a zip of around 100k ...

Does it work?

If so, try a larger download of 1 meg ... does it work?

If so, try a larger download over 2 meg ... does it work?

If you find these work but then have a download of substantial size that is failing, check with your hosting site as to the limits on the server ...

Some unix servers are not setup correctly to work with the Redirect ON as they do not recognize the symbolic link in the .htaccess file in:
/pub/.htaccess

#prevent directory browsing -- for security
IndexIgnore */*

  Options +FollowSymLinks -Indexes

Again check with your hosting site if this is the case ... a test is to turn Redirect OFF ...

Redirect ON is much more secure ... it would be a good idea to see if your hosting site can fix the server settings to work correctly to meet your needs ...

2 Jun 2007, 8:14 PM
#5
paradisesolutions avatar

paradisesolutions

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

Re: Downloadable products; *not* a 'how do i...'

Many thanks for your assistance. I was one click away from trying the no redirect until I saw the comment about only being required for windows servers.
Having tried it, the downloads work - again thank you. In regards to raising with my hosting provider, what keywords / phrases should i drop to explain the incompatibility?

Paul

3 Jun 2007, 1:58 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Downloadable products; *not* a 'how do i...'

Might try ...

Why don't symbolic links work properly on my site in an .htaccess file?

#prevent directory browsing -- for security
IndexIgnore */*

  Options +FollowSymLinks -Indexes

Or perhaps one of the server guru types can better define the right question to raise here ... I am but a humble coder ... :smartalec: