Jump to:

4938 Posts in 16764 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Installing Mod_rewrite on ubunto

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

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

Page: 1
Go to End
Author Topic: 895 Views
  • Futureweb
    Avatar
    Community Member
    232 Posts

    Installing Mod_rewrite on ubunto Link to this post

    Hi there,

    I'm just installing SS on a clients server, they seem to have a pretty bare set up, without much installed - no control panels etc. I managed to set up the database using SSH, but it seems the host server hasn't got mod_rewrite installed.

    I have never installed a module on a server before - so I need a wee bit of help

    is it easy - can I do it through SSH?
    is is risky - I can't afford to screw up their server as their others sites are still live
    do I have to restart apache - will this take long (again, never done this myself) will it take their existing sites off line?

    In the meantime, I'll keep going with build the site - it just look a bit rubbish with the index.php/home/ etc in the link....

    cheers folks

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Installing Mod_rewrite on ubunto Link to this post

    "sudo a2enmod rewrite" should get the rewrite module enabled for Apache on Ubuntu.

    You will need to get "AllowOverride All" setup in the Apache configuration as well to enable rewriting.

  • elgordo
    Avatar
    Community Member
    70 Posts

    Re: Installing Mod_rewrite on ubunto Link to this post

    You may also have to enable the module, do sudo a2enmod rewrite if this is the case

  • Futureweb
    Avatar
    Community Member
    232 Posts

    Re: Installing Mod_rewrite on ubunto Link to this post

    Hi Folks,

    I got this working, as suggested, I had "sudo a2enmod rewrite" to enable the module, then restart apache.

    Still nothing worked - then I realized .htaccess wasn't working, so had to enable that too

    all now works...

    895 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.