ci apache 伪静态问题
<IfModule mod_rewrite.c>下面是我的规则
RewriteEngine on
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond $1 !^(index\.php|images|uploads|js|skins|theme|css|robots\.txt)
RewriteRule ^(.*)$ index\.php/group/index/$1
访问www.xx.com/beijing 出错总是找不到页面
404 Page Not Found
The page you requested was not found.
可能你重写规则里面没加上你的网站目录吧,也就是index.php 前面!不知道你是否明白! 楼主问题解决了没啊?我也遇到这种问题,以前在iis上是没问题了,现在换到apache上规则就不对了 {:soso__17615529269517227981_3:}
页:
[1]