已爬文但仍然無法解決,只好再發一篇請大家幫忙
環境
Win10
apache 2.4.20 x86
php 5.6.22 x86
CI2.1.2
架構
WWW
/test
/index.php、.htaccess、system、application...
修改項目
apache-httpd.conf
155行
LoadModule rewrite_module modules/mod_rewrite.so 刪除註解
226行
<Directory />
AllowOverride All
Require all denied
</Directory>
244行
<Directory "d:/www">
Options MultiViews
AllowOverride All
Require all granted
</Directory>
ci-conf
$config['index_page'] = '';
.htaccess內容
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.
麻煩大家看一下我有哪邊做錯了,感謝