Jump to:

22972 Posts in 11596 Topics by 2824 members

General Questions

SilverStripe Forums » General Questions » How to turn ON mod_rewrite in MS4W

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 605 Views
  • sypou
    Avatar
    Community Member
    10 Posts

    How to turn ON mod_rewrite in MS4W Link to this post

    Dear all,

    How to turn ON mod_rewrite? I'm on localhost

    I use MS4W
    PHP Version 5.3.5
    Apache/2.2.17
    DOCUMENT_ROOT    C:/ms4w/Apache/htdocs

    What I did is I removed the comment in:

    C:\ms4w\Apache\conf\httpd.conf

    ...
    #LoadModule reqtimeout_module modules/mod_reqtimeout.so
    LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule setenvif_module modules/mod_setenvif.so
    #LoadModule speling_module modules/mod_speling.so
    ...

    but still, when I install SilverStripe, I get

    Webserver Configuration All Requirements Pass but 1 Warning
    URL rewriting support   You need mod_rewrite to use friendly URLs with SilverStripe, but it is not enabled.

    Any idea?

    Serge

  • sypou
    Avatar
    Community Member
    10 Posts

    Re: How to turn ON mod_rewrite in MS4W Link to this post

    Again... I got it.

    I was right with the configuration but I had to change the AllowOverride None to AllowOverride All in the Options Indexes FollowSymLinks.
    Then I did a fresh install of SilverStripe.

    Thank you anyway...

    Serge

    605 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.