.htaccess又出问题了
本帖最后由 pipigui 于 2013-1-22 13:26 编辑好久没用ci了
index.php又隐藏不掉了
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|images|css|js|uploads|img|plugins|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 s
;P
config.php搞了没有? smartweb 发表于 2013-1-22 13:46 static/image/common/back.gif
config.php搞了没有?
config.php貌似不用改吧,里面有个uri_protocol我试了AUTO、PATH_INFO、ORIG_PATH_INFO都不行,服务器是centos,上面有url_rewrite模块,也开启了,我在httpd.conf里面把改成AllowOverride All了,好像还是不行。。 好久没整服务器了,真是折腾啊 RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /mvc/index.php/$1
页:
[1]