Re: [請益]CodeIgniter 開啟mod_rewrite失敗

看板PHP作者 (皮皮快跑)時間9年前 (2016/07/16 00:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
※ 引述《arthas1107 (az)》之銘言: : 已爬文但仍然無法解決,只好再發一篇請大家幫忙 : 環境 : RewriteEngine On : RewriteBase /test : RewriteCond %{REQUEST_FILENAME} !-f : RewriteCond %{REQUEST_FILENAME} !-d : RewriteRule ^(.*)$ index.php/$1 [L] : 網路上查到的做法大都試過了,但是仍出現錯誤訊息 : Forbidden : You don't have permission to access /test/index.php on this server. : 麻煩大家看一下我有哪邊做錯了,感謝 我給你我的.htaccess的內容你直接整個貼上去試試看吧! RewriteEngine on RewriteBase / RewriteCond $1 !^(index\.php|robots\.txt|$) RewriteRule ^(.*)$ index.php/$1 [L,QSA] -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.204.164.51 ※ 文章網址: https://www.ptt.cc/bbs/PHP/M.1468600404.A.DFB.html
文章代碼(AID): #1NYH1Ktx (PHP)
文章代碼(AID): #1NYH1Ktx (PHP)