RewriteRule in .htaccess not working

前端 未结 3 390
野的像风
野的像风 2021-01-12 19:56

I am currently running Apache2 on my local machine, installed with the latest version of Ubuntu.

I am trying to get basic URL rewriting working by using the .htacces

3条回答
  •  深忆病人
    2021-01-12 20:45

    For the benefit of others, I figured out the answer:

    In the file "/etc/apache2/sites-enabled/000-default" there was the line:

    AllowOverride None
    

    Change this to:

    AllowOverride All
    

提交回复
热议问题