That's a good question. I'm not sure what is the answer. I'll do some Googling and get back to you if I got an good answer. You should email the people at iPage as they probably could answer your iPage question..
Thanks for the tip, but I tried it and it didn't work..
The .htaccess works in all the other folders (ie if I try to go to catalog/download in my web browser I get the 'No Access' come up with a login), just not on the pub folder..
If I try and access the pub (with it's relevant .htaccess file removed) folder, I just get:.
You don't have permission to access /pub/.cpdidqfhmmeylvss/testfile.zip on this server..
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request..
And I notice that the .cpdidqfhmmeylvss folder, which is the temp one osCommerce creates is empty but it's permissions are set to 777 - I assume this should just be a link through to the file which is in the download folder, or does it copy it into this temp folder to allow access...?.
This post has been edited by.
: 02 September 2004, 00:27..
I have fixed the problem....
I had to change the 'Download by redirect' option to FALSE as it turns out my web host is using Windows servers, not Unix...!..
In what file did you do that?.
I'm having the same problem..
My iPage hosting company also states their servers are unix but the "download by redirect" does not work either. Does this mean they are on Windows?..
Check to see if your webhost is running Ensim. If they are you'll have a heck of a time getting downloads to work, and if you do you won't be able to do so over 2MB..
You can ask your webhost to set your iPage site to 3.1 security. If they do, you will have to change your /includes/configure.php and admin/includes/configure.php to show a new FS path of /home/virtual/domain.com/var/www/html instead of just /var/www/html.
I have installed osCommerce and think it's absolutely great. The FAQ and help pages at www.oscommerce.info have helped me out a lot, but I'm still having one problem for which I can't find a solution..
I want to be able to have items that are offered for download (like the 'Unreal' game in the demo and corresponding file 'unreal.zip' in the download folder)..
I have placed the file I want into the downloads folder and everything works fine and you can purchase it. The link appears to 'Download your products here' and you can click on the filename..
I have chmod the catalog/pub folder to 777 and the catalog/download folder to 755. As regards the .htaccess files, I have copied the ones from the osCommerce installation package across in ASCII..
If you try and click on the download file by clicking on the filename I get this in my web browser:.
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script..
If you think this is a server error, please contact the webmaster..
The URL trying to be accessed is www.mysite.com/pub/.yprsommemnhhvvlrk/testfile.zip.
I notice that I get this error also if I simply try to get to the catalog/pub folder with my web browser. However, if I try to access the catalog/download folder with my web browser I get a login popup and then 'Authorisation required'..
I think this problem has something to do with the .htaccess files but I don't know what and it's really puzzling me..
Any help would be greatly appreciated...
I have had a problem like that in a .htaccess file when I used Mac OS9 and uploaded the file. Apache tripped on the Mac line endings (500 error). Changing it on the server worked that out (with vi). Saving the file using Unix line endings would have done the same thing I assume. Just a thought...