我使用雪豹,我有我的本地市场环境,我试图摆脱在URL中的index.php的...这里是我的.htaccess和笨不工作
DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]
我的配置文件有这个
$config['index_page'] = "";
但是当我访问网页时没有的index.php它不工作
这个作品
http://localhost/ci_example/index.php/site
这并不
http://localhost/ci_example/site
我试图按照this
也许我需要做一些与本地的conf文件...但我真的不知道什么,我不知道如何重新启动apache命令行...任何想法
已与apache配置混淆? – yoda 2010-12-23 01:22:12
我想现在...我将AllowOverride全部更改为无 – Trace 2010-12-23 01:37:45