Internal URL rewrite no longer working after upgrading Apache to 2.4

前端 未结 4 1699
迷失自我
迷失自我 2020-12-03 17:35

I need to internally rewrite the base URL so that instead of / being mapped to /index.php (default behaviour) it goes to another script named contents.php. I have a simple .

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-03 17:43

    I also had 404s with WordPress redirects on virtual hosts after upgrading to Apache 2.4.6

    In my case problem was solved by changing 'AllowOverride None' to 'AllowOverride FileInfo' for each virtual host directory config.

提交回复
热议问题