按照教程的隱藏入口文件報(bào)500錯(cuò)誤了
為什么我配置后是報(bào)500錯(cuò)誤呢日志中錯(cuò)誤是Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
2017-11-10
我已找到問題,我用的是wampserver集成環(huán)境,httpd.conf中原本有
<Directory />
? ? AllowOverride none
? ? Require all denied
</Directory>
不管怎么配置都不行,我先將它注釋掉,然后再重啟一下后,日志中報(bào)錯(cuò)
E:/ThinkPHPstudy/.htaccess: <IfModule not allowed here ? 這個(gè)時(shí)候才看到.htaccess不知道怎么放到了根目錄下了,移動(dòng)到public文件夾下時(shí)才好的