FuRiOuS1 Posted August 5, 2004 Posted August 5, 2004 Hi, i am having a few problems with the .htacces files for oscommerce. My first problem is with the .htaccess file in /catalog/ . If i do not comment out... <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> then i get an internal server error 500. i do not know why that is happening. my second problem is with the .htaccess in /catalog/includes/ . if i do not comment out this... <Files *.php> Order Deny,Allow Deny from all </Files> then i cannot access any files beyond /catalog/includes/ via HTTP, no matter what filetype. that means the buttom image files can't be accesses via HTTP. if someone could shed some light on how to fix these two problems, i would appreciate it. Thank You
Jan Zonjee Posted August 5, 2004 Posted August 5, 2004 I once had that problem when I uploaded it as a file that was made on a Mac (so the file had Mac line endings). When the ISP people looked at it with vi, they saw those line endings as control-R (I think). Once those were removed the file worked again. As long as the .htaccess file was only 1 line, no problem.
FuRiOuS1 Posted August 9, 2004 Author Posted August 9, 2004 nope, i just tried this, it did not work.
Guest Posted August 9, 2004 Posted August 9, 2004 for this to work, you must include the parameter 'Limit' to the AllowOverride configuration Example: <Directory "/usr/local/apache/htdocs"> AllowOverride Limit with that in mind, are you using Apache or IIS>?
FuRiOuS1 Posted August 9, 2004 Author Posted August 9, 2004 I am using Apache. And i have also tried the AllowOveride Limit.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.