Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe

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

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

mod_rewrite and nginx


5 Posts   3595 Views


14 November 2009 at 8:56am Community Member, 67 Posts

I'm trying to get Silverstripe 2.3.3 working under nginx on Ubuntu. Installation has gone pretty smoothly, but I've run into an area of uncertainty with mod_rewrite. I get a message at the bottom of the install page saying "I can't tell whether mod_rewrite is running. You may need to configure a rewriting rule yourself". I've added the rewrite rule mentioned here:, so rewrites should be working OK.

Is this a problem? Is it just that it can't tell whether it will work? Or will it actually not work?


14 November 2009 at 10:09pm Community Member, 202 Posts

I am not sure about this, but if you install it and it redirects to your silvestripe install you can be pretty sure it works :-)


14 November 2009 at 10:40pm Community Member, 604 Posts

I've seen the same message under Apache (on older versions of SS) but it still works fine. Give it a try. If your URLs are rewriting after installation, you're all good.


14 November 2009 at 11:51pm Community Member, 67 Posts

Yes, I pushed on with it and all seems to work OK. I'm hoping no serious problems come up with it, because it would be great to be able to use nginx instead of Apache for my SilverStripe sites. Nginx is incredibly fast and uses negligible hardware resources by comparison with Apache, and has proved absolutely rock solid in my experiences with it so far (and I've been hammering it pretty hard).

For anyone interested, I used the technique here to get PHP working with nginx on Ubuntu. There are other how-to's around, but this one is the most straightforward I've come across and so far seems to work fine. After that, once I'd installed the php5-gd and php5-mysql packages and restarted php-fastcgi, SilverStripe allowed me to proceed with the installation.


15 November 2009 at 1:34pm Community Member, 604 Posts

I hear that. I've been interested in nginx since seeing some performance tests (