.htaccess: RewriteEngine not allowed here

前端 未结 8 2022
醉话见心
醉话见心 2020-12-01 11:53

I uploaded the .htaccess to the server and received an Error 500 (Internal Server Error).

And in the error log I had the following error:

相关标签:
8条回答
  • 2020-12-01 12:38

    minimum configuration for your .htaccess to work:

    AllowOverride FileInfo Options
    

    allowing all configuration will work as well:

    AllowOverride All
    
    0 讨论(0)
  • 2020-12-01 12:41

    Also, just make sure you are editing the correct config file. I had created a file under /etc/apache2/users/USERNAME.conf but was editing /etc/apache2/httpd.conf.

    Removing the USERNAME.conf file worked.

    0 讨论(0)
提交回复
热议问题