数年間、同じ .htaccess を使用して apache の URL 書き換えを制御してきましたが、現在、次のエラーが発生しています。
[Wed May 08 17:14:16 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Wed May 08 17:14:16 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-d' is not supported and will be ignored.
[Wed May 08 17:14:16 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-l' is not supported and will be ignored.
私の .htaccess は次のとおりです。
# << Friendly URL's
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php
# >> Friendly URL's
#RewriteCond %{HTTP_HOST} ^mydomain\.com\.br$ [OR]
#RewriteCond %{HTTP_HOST} ^www\.mydomain\.com\.br$
#RewriteRule ^/?$ "http\:\/\/www\.mydomain\.com\.br\/" [R=301,L]
RewriteCond %{HTTP_HOST} !^www.mydomain.com.br$
RewriteRule ^(.*)$ http://www.mydomain.com.br/$1 [R=301]
私は .htaccess の使用法について十分な知識を持っていないので、何が起こっているのかわかりません。実は、このファイルを作成するためにずっと前に .htaccess について少しだけ学びましたが、もう機能していません。このエラーを修正する方法を教えてください。
よろしくお願いします!