Page 1 of 1

.htaccess and Apache 2

Posted: Wed Nov 14, 2007 1:35 pm
by faglork
Hi,

just wanted to point out that there may be a slight problem in the standard htaccess.txt shipping with CMSMS.

Code: Select all

RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
should - in case of apache 2 - read

Code: Select all

RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
since [NC] is not supported in this case - at least on my machine -  and the error log will fill up like crazy ...


Can someone please confirm this?
Or is this a configuration issue?

hth,
Alex

Re: .htaccess and Apache 2

Posted: Wed Nov 14, 2007 6:48 pm
by moorezilla
I had to remove that as well.

Re: .htaccess and Apache 2

Posted: Wed Nov 14, 2007 11:12 pm
by Pierre M.
Hello,

please provide an official pointer to information about this change. I haven't found such an information in the 2.x changelogs.
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html seems still OK with [NC].

Pierre M.