brianstorm Posted July 6, 2004 Share Posted July 6, 2004 Hi, I've just installed MS2 on an Apache webserver and everything seems to work fine so far apart from my downloads section (new to me, I followed the WIKI instructions).. When the products is purchased, you get a download link fine, but when you click on it you get the following message: ------------------------------ Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. ------------------------------- The download link looks like it may be the problem to me as it has an odd dot. eg http://www.mydomain.co.uk/pub/.jsldbngryjd...wvmm/sunday.mp3 If anyone could throw any light light on the subject for me it would be greatly apprecciated. And while I am on the subject, any commenst on the OSCommerce download controller would also be greatly received.... Cheers Brian with ten thousand dollars we'll all be millionaires Link to comment Share on other sites More sharing options...
Guest Posted July 6, 2004 Share Posted July 6, 2004 it could be you have something incorrect in your configure.php file which is adding a dot in front of download, or your file may have it in there when you typed it in. Link to comment Share on other sites More sharing options...
brianstorm Posted July 15, 2004 Author Share Posted July 15, 2004 For anyone else who encounters this problem, it seems to be relating to .htaccess files ion Apache webservers. Most likely the global settings in the etc/httpd/access.conf file don't allow .htaccess files to override gloabl settings. Check your Apache error logs (etc/httpd/logs/error) and it will probably give you some information. There is loads of info at www.apache.org which I am still working my way through to find the correct config.... with ten thousand dollars we'll all be millionaires Link to comment Share on other sites More sharing options...
brianstorm Posted July 15, 2004 Author Share Posted July 15, 2004 And to finish off, this got it working when I added it to the bottom of my Apache /etc/httpd/access.conf file... replace # with the site number as required. <Directory /home/sites/site#/> AllowOverride All </Directory> Please note that I am not sure of the security implications of this at the moment. As I am site admin I think that I'll be fine, but you'd best think about it for yourself anyway. with ten thousand dollars we'll all be millionaires Link to comment Share on other sites More sharing options...
Guest Posted December 12, 2004 Share Posted December 12, 2004 What if we don't have access to the access.conf file? I have the same problem with my shop, and so far, no one knows an actual fix. Link to comment Share on other sites More sharing options...
brianstorm Posted December 13, 2004 Author Share Posted December 13, 2004 What if we don't have access to the access.conf file? I have the same problem with my shop, and so far, no one knows an actual fix. <{POST_SNAPBACK}> I don't know for sure but you may be stuffed. You could ask your hosting company to modify the access.conf ffile for you, or specifiacally to enable the htaccess files in oscommerce to override the global server settings..... They should be able to help you achieve this.... good luck andy with ten thousand dollars we'll all be millionaires Link to comment Share on other sites More sharing options...
mhormann Posted December 16, 2004 Share Posted December 16, 2004 Try this: In Admin/Configuration/Download/ set "Download by redirect" to FALSE. Then read on here. I don't want to set the world on fire—I just want to start a flame in your heart. osCommerce Contributions: Class cc_show() v1.0 – Show Credit Cards, Gateways More Product Weight v1.0 Link to comment Share on other sites More sharing options...
boxtel Posted December 16, 2004 Share Posted December 16, 2004 And to finish off, this got it working when I added it to the bottom of my Apache /etc/httpd/access.conf file... replace # with the site number as required. <Directory /home/sites/site#/> AllowOverride All </Directory> Please note that I am not sure of the security implications of this at the moment. As I am site admin I think that I'll be fine, but you'd best think about it for yourself anyway. <{POST_SNAPBACK}> allow override all simply tells the server to allow .htaccess extentions i.e. put server directives in .htaccess in your directories that alter the server behaviour. it slows the server a little because it will look for those files in the entire directory everytime a request comes in but changes to .htaccess do not require a server restart and on shared hosts clients do not get access to httpd.conf and for good reason. If you host has set override none, all .htaccess files are ignored. Treasurer MFC Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.