嗨,我是新來的笨並以此作爲我的網址笨的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