Server Warnings for non-regex pattern -f
-
Folks…
I’d like to identify the cause for the warnings I see on my server error logs related to the -f control in the standard WordPress .httaccess file.I GET THIS warning message in my server logs constantly…
[Sun Jan 13 11:47:58 2008] [warn] RewriteCond: NoCase option for non-regex pattern ‘-f’ is not supported and will be ignored.
It says not supported but if I remove the line I get a 500 error from the server on the webpage.
I am running:
Apache version 2.2.6 (Unix)
PHP version 5.2.5
MySQL version 5.0.37-standard-log
Architecture x86_64
Operating system:LinuxCopy of my .htaccess file :
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On RewriteBase /zz/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /zz/index.php [L]
</IfModule>
# END WordPressMy wordpress blog is in the subdirectory /zz/ under the root directory. When I comment out !-f I get a server error as mentioned. Can anyone suggest an explaination and what I might be able to do to prevent the warning?
Thanks
ZZ
- The topic ‘Server Warnings for non-regex pattern -f’ is closed to new replies.