Support » Themes and Templates » RewriteCond: NoCase option for non-regex pattern '-f

  • Resolved illegalprelude

    (@illegalprelude)


    Hey everyone. I’m checking my MAIN error_log: and I’m getting the following show up nearly 50 times:

    [Sat Feb 18 22:47:05 2012] [warn] RewriteCond: NoCase option for non-regex pattern ‘-f’ is not supported and will be ignored.

    My Google-Fu has given me nothing. Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Do you have [NC] flag on that line with -f in your .htaccess? If so, remove it.

    illegalprelude

    (@illegalprelude)

    Nope. I read somewhere to change things to the following:

    1 RewriteCond %{REQUEST_FILENAME} -f
    2
    3 RewriteRule "." - [skip=100]
    4
    5 RewriteCond %{REQUEST_FILENAME} -d
    6
    7 RewriteRule "." - [skip=100]

    And I’ve done this yet I still get the same error…

    Isn’t main error_log server’s entire log file, I mean are you sure it’s related to your own account?

    illegalprelude

    (@illegalprelude)

    Well I’ve read else place that because we all share servers (BlueHost), that it could be a error from someone which is stupid. Not sure why it should show up for me and if it does, you would assume that it should somehow notify you yea?

    But in all honesty, I don’t know. My site a few days ago started throttling like crazy so I’m trying to knock out every bug that I see. For all I know, this was there for the past year too, but I had never checked before.

    illegalprelude

    (@illegalprelude)

    Checked with BlueHost, in their Main error_log section, if it’s not highlighted in red, then it is not related to you and is related to another site on the server. Good to know this!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘RewriteCond: NoCase option for non-regex pattern '-f’ is closed to new replies.