• 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:Linux

    Copy 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 WordPress

    My 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am having the same problem and am unable to identify the cause. A few days ago the error apparently caused a loop which eventually brought down the site. I have searched the web and have come across several references to fast CGI scripts and indications that if the speed setting is changed the problem goes away. I am not a code so all of this is news to me.

    Thread Starter zzb

    (@zzb)

    Yes I believe it is related to fast CGI configuration on the Apache server. I changed that function and did not loose any speed and the server error was significantly reduced.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Server Warnings for non-regex pattern -f’ is closed to new replies.