看板 PHP 關於我們 聯絡資訊
※ 引述《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