我已经检查了我的apache错误日志,我看到了多条这样的消息:
client 108.162.246.190] PHP Notice: Undefined offset: 4 in /var/www/html/search.php on line 142
[Tue Dec 31 00:17:48 2013] [error] [client 108.162.246.190] PHP Notice: Undefined offset: 5 in /var/www/html/search.php on line 142
[Tue Dec 31 00:17:48 2013] [error] [cl
# Do not remove this line or mod_rewrite rules and search engine friendly URLs will stop working
Options +FollowSymLinks
RewriteEngine On
# Removes index.php from ExpressionEngine URLs
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteCond %{REQUEST_URI} !/system/.* [NC]
RewriteRule (.*?)ind
我已经重写了URL
使用以下规则将"123.com/search.php“更改为"123.com/search”
RewriteRule ^search$ search.php
它适用于me.But,从"123.com/search.php?cat=something“到"123.com/search/something”使用规则
RewriteRule ^search/(.*)$ search.php?cat=$1
不起作用。
它显示的错误如下
Resource interpreted as Stylesheet but transferred with MI