Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / My downloadable products won't redirect properly

My downloadable products won't redirect properly

Views: 2,694

Results 21 to 33 of 33
7 Feb 2012, 4:22 PM
#21
mhulak avatar

mhulak

New Zenner

Join Date:
Feb 2012
Posts:
78
Plugin Contributions:
0

My downloadable products won't redirect properly

The file is a link to sales.michaelhulak.com/download/2011-08-29-IMG_5562-Polar-Bear.zip you can see that by going to the File Manager and navigating to the file in question.

The real path to the file is /home/www/sales.michaelhulak.com/download/2011-08-29-IMG_5562-Polar-Bear.zip and /home/www/sales.michaelhulak.com/pub/.ezkbrkxbujggdz/2011-08-29-IMG_5562-Polar-Bear.zip is just a link within the hosting environment only.

Feel free to reopen this ticket in case you have more questions or you need further assistance.

Thank you for choosing our services.

Best Regards,
Andrey Watkins
Dedicated Support Team
Supportindeed.com

7 Feb 2012, 8:12 PM
#22
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: My downloadable products won't redirect properly

Looks like your host doesn't even understand how symlinks work.

8 Feb 2012, 3:16 AM
#23
mhulak avatar

mhulak

New Zenner

Join Date:
Feb 2012
Posts:
78
Plugin Contributions:
0

Re: My downloadable products won't redirect properly

i kinda dont either. i feel like they are jerking me around. i recently asked them to assist me on the proper permissions. they say it is the htacess. i see in the htacess deny everything and acceptions to allow jpg, zip, gif, and so on. since the file is zip, the access shold be fine. however, when the downloadlink gets created, there is no htacess in the new (.hsdsdfkjhsdflksdf) folder. i set permissions to the pub directory to 777 and made sub directories to inherit the 777 properties. since the .sdkjhsdfkjhsdf folder doesnt exist at the time i make the permissions, it might not get the settings at the time downloading is done.

anyways. here is where i am so far.
i understand i can use this now without the redirect security which will leave me vulnerable to people downloading without payment.

here is the current correspondance. i posting because i am getting impatient with getting this up and running.


Hello Michael,

Thank you for contacting us.

The file exists but the following /home/www/sales.michaelhulak.com/download/.htaccess file restricts all access, so the error is not 404 as the file is there, but you simply cannot view it because of the .htaccess redirection.

Feel free to reopen this ticket in case you have more questions or you need further assistance.

Thank you for choosing our services.

Best Regards,
Andrey Watkins
Dedicated Support Team
Supportindeed.com


TueFeb 7 2012 10:00pm
i am not sure the requirements needed within the .htaccess. what part of the .htaccess needs to be editted to allow this to work?


they escalated this ticket and it is still open

8 Feb 2012, 4:20 AM
#24
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: My downloadable products won't redirect properly

I'll abbreviate how it works:

The /download/ folder contains the ACTUAL original files.
The /pub/ folder contains dynamically-created symlinks TO those original files.

The CUSTOMER is given the temporary symlink for their download, so that they cannot share it with their friends and steal your files.

A properly-configured server will very naturally follow the symlink to find the correct file to serve to the customer, TRANSPARENT to the customer.

So, when your store is configured to use Download-by-redirect, these symlinks are how it works.
If you turn off Download-by-redirect, THEN your customers will be given direct links to your files in your /download/ folder. If that's what you want, or if your host is unable to make symlinks work properly, then turn that switch off.

The /download/.htaccess IS NEVER USED AT ALL if you're using the symlink approach. So that's completely irrelevant here.
The /pub/.htaccess contains a statement to tell the server to follow symlinks. If your host isn't capable of configuring the server to allow the use of such directives in .htaccess, then find a host who knows what they're doing, or at least someone AT your hosting company who knows the bigger technical picture of how the servers work and how they're configured.
The rest of the entries in the .htaccess files are intentionally there to prevent customers from accessing files they're not allowed to access. By default it ALLOWS several file extensions, including the .zip that you're using in your case. So, again, the .htaccess should not be interfering here ... unless the server is improperly configured.

You could TEMPORARILY rename your /pub/.htaccess to htaccess_OFF so that it's disabled and DOES NOTHING TO PROTECT YOU. It also will probably still break since renaming it also removes the follow-symlinks directive. So, while the "forbidden" may disappear, it'll probably turn into a "not found" response, and then you're still no further ahead.

8 Feb 2012, 8:31 PM
#25
mhulak avatar

mhulak

New Zenner

Join Date:
Feb 2012
Posts:
78
Plugin Contributions:
0

Re: My downloadable products won't redirect properly

i got this response from my server

Hello Michael,

Thank you for contacting us.

Unfortunately the directory should be set with the proper permissions through the ZenCart software and I do not believe there would be another option to get these permissions set at a later time.

I guess your best bet would be to contact the ZenCart developers and ask them for slight assistance with this issue as they should be able to come up with a solution a lot easier than you and us together.

Feel free to reopen this ticket in case you have more questions or you need further assistance.

Thank you for choosing our services.

Best Regards,
Andrey Watkins
Dedicated Support Team
Supportindeed.com

8 Feb 2012, 10:47 PM
#26
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: My downloadable products won't redirect properly

Sounds like you need a new host - someone who's capable of modern server operation.

8 Feb 2012, 11:40 PM
#27
mhulak avatar

mhulak

New Zenner

Join Date:
Feb 2012
Posts:
78
Plugin Contributions:
0

Re: My downloadable products won't redirect properly

the ticket has been updated again and brought to a second level again.

i m starting to think i need a new server as well. the ping-png support and not really accomplishing a result seems tiresome.

8 Feb 2012, 11:41 PM
#28
mhulak avatar

mhulak

New Zenner

Join Date:
Feb 2012
Posts:
78
Plugin Contributions:
0

Re: My downloadable products won't redirect properly

i posted them the explanation so hopefully we'll get somewhere

9 Feb 2012, 2:53 AM
#29
mhulak avatar

mhulak

New Zenner

Join Date:
Feb 2012
Posts:
78
Plugin Contributions:
0

Re: My downloadable products won't redirect properly

does anyone have any suggested servers that will meet the requirements my cart is looking for? that is, if these guys are not able to fullfill my needs as they advertised.

i already have my own domain name.

the server I am currently with is agilityhoster.com

9 Feb 2012, 3:17 AM
#30
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: My downloadable products won't redirect properly

There's a Hosting link at the top of this page.

10 Feb 2012, 9:04 PM
#31
mhulak avatar

mhulak

New Zenner

Join Date:
Feb 2012
Posts:
78
Plugin Contributions:
0

Re: My downloadable products won't redirect properly

the got it figured out.

http://sales.michaelhulak.com is capable of instant payment downloads now using symlink .

thank you for all the help

10 Feb 2012, 11:46 PM
#32
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: My downloadable products won't redirect properly

Did they happen to fess up to what they had to fix on the server?

24 Feb 2012, 8:39 AM
#33
mhulak avatar

mhulak

New Zenner

Join Date:
Feb 2012
Posts:
78
Plugin Contributions:
0

Re: My downloadable products won't redirect properly

they didnt fes up to the issue that lasted for 2 weeks, but they did finally understand after your description. i was on the verge of changing servers. luckily they fixed it. i got some text and some cosmetic things to change still on the page, but i got it looking slick now. http://www.michaelhulak.com thank you for the help getting the instant payment working for downloads everyone