嗨,我是新来的笨并以此作为我的网址笨的index.php文件,国防部重写
http://localhost/codeigniter/index.php/site
及包括本htaccess的filr到笨文件夹后,已包括以下htaccess文件
RewriteEngine On
RewriteBase/codeigniter
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [PT,L]
网页停止工作都在
http://localhost/codeigniter/index.php/site
和
http://localhost/codeigniter
基本上我需要
http://localhost/codeigniter
工作
请帮助
感谢
哦,是的,它的工作感谢。你能告诉我怎么能得到这个http:// localhost/codeigniter/ 到http:// localhost/codeigniter/site自动 –
或者将你的整个应用程序移动到'codeigniter'文件夹下的一个名为'site'的子文件夹中并且改变你的mod重写规则要匹配。 – Repox