Jump to:

4938 Posts in 16764 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » [SOLVED] Enabling mod_rewrite

Getting SilverStripe up and running on your computer and on your web server.

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

Page: 1 2
Go to End
Author Topic: 3012 Views
  • camfindlay
    Avatar
    Forum Moderator
    148 Posts

    Re: [SOLVED] Enabling mod_rewrite Link to this post

    This issue relates to differences between apache 2.2 and the newer 2.4.

    You'll need to add this to your httpd.conf file where you set the vhost directory:

    AllowOverride All
    DirectoryIndex disabled
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec

    I found the XAMPP and other stacks running 2.4 apache work fine after that and you can leave your indoex.php where it is (even tough technically you can remove it as htaccess does all the work there).

    See https://groups.google.com/forum/#!topic/silverstripe-dev/-xH6yZfC5Tc

    Hope that solves it for you.

  • Deej
    Avatar
    Community Member
    3 Posts

    Re: [SOLVED] Enabling mod_rewrite Link to this post

    Awesome. That did it, thanks CamFindlay.

    Coincidentally that is the second time you've helped me today. I enjoyed and commented on your talk on Silverstripe's Vimeo account today.

    PS Looks like I've got two accounts on here. I'm Daniel B From the comment above.

  • camfindlay
    Avatar
    Forum Moderator
    148 Posts

    Re: [SOLVED] Enabling mod_rewrite Link to this post

    No problem, I might look to add this into the WAMP documentation actually as the default versions of it are all running apache 2.4.

    Also can you mark this thread as solved please. Just edit the first post in this thread and add [solved] to the start of the topic
    Helps others with similar problem know where to look.

  • DanielB
    Avatar
    Community Member
    5 Posts

    Re: [SOLVED] Enabling mod_rewrite Link to this post

    Hi CamFindlay,

    I agree I think this would be helpful for a few people. Sorry if you weren't talking to me but I did not start the thread so can't edit to solved. Anyway thanks again.

    3012 Views
Page: 1 2
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.