.htaccess-RewriteCond:坏标记分隔符。怎么了?

时间:2016-04-22 11:55:26

标签: php apache .htaccess

Order allow,deny
Allow from all
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
AddDefaultCharset UTF-8
php_value short_open_tag 1

有了这个.htaccess,我看到了错误日志:

  

[Thu Apr 21 17:37:33.868932 2016] [core:alert] [pid 6097] [客户   11.33.11.33:30003] /var/www/.htaccess:RewriteCond:坏标记分隔符

有什么问题?谢谢!

0 个答案:

没有答案