安装新的Silverstripe项目时 - 未启用mod_rewrite?

时间:2016-05-13 08:13:36

标签: apache mod-rewrite mamp silverstripe mamp-pro

我正在使用MAMP Pro,出于某种原因,现在我在安装新的silverstripe项目时说:

URL rewriting support - You need mod_rewrite to use friendly URLs with SilverStripe, but it is not enabled.

它从来没有这样做过,并且过去没有遇到任何问题。

enter image description here

我已经检查了我的httpd.conf,就在那里,我还查看了主持人' MAMP Pro中的选项卡和mod_rewrite已被选中。

enter image description here

知道为什么会这样做吗?

1 个答案:

答案 0 :(得分:0)

因此,在进行了更多测试后,似乎您需要在安装了silverstripe后重新启动MAMP Pro才能重写URL。