500 Error on apache server - “AllowOverride not allowed here”

廉价感情. 提交于 2019-11-30 21:39:58

AllowOverride All doesn't belong in the htaccess file. It's used in the server config (httpd.conf) to set what an server config parameters an htaccess file can override. So obviously, it would be wrong to be able to configure what parameters htaccess files can override from within htaccess files.

Remove it from your htaccess file. You've already defined AllowOverride All in your httpd.conf in the right places.

AllowOverride controls .htaccess-security and -behaviour and could not be set inside of .htaccess files.

Drop "AllowOverride All" from .htaccess, thats all.

Take AllowOverride All out of your .htaccess.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!