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, Ed, biapar, Willr, Ingo, swaiba

mod_rewrite : keep initial rules but add another one for a new site

Go to End

3 Posts   1415 Views


Community Member, 70 Posts

22 September 2009 at 1:55am


My Silverstripe works.
It's installed in /var/www/CMS/ directory and i access to my CMS with an url like without problem.

But, i would like to redirect to /var/www/FORUM/ where i have a little php forum. I tried somes mod_rewrite rules in .htaccess file but impossible to access to the forum...

Could you help me please ? Could you show me some mod_rewrite rules which could works ?


Community Member, 81 Posts

24 September 2009 at 8:23am

It would be helpful to know what rules you have already tried in your .htaccess file. Could you please post them.


Community Member, 70 Posts

29 October 2009 at 11:52pm

Edited: 26/02/2010 11:59am


Excuse-me : i leaved out my problem... But today, i've resolved it :).

So :

  • In my Silverstripe '.htaccess' : nothing to change
  • In my Apache Silverstripe configuration : add "Alias /communauty /var/www/FORUM"
  • In my FORUM '.htaccess' (there are mod_rexrite rules for my FORUM) : change "RewriteBase /" by "RewriteBase /communauty"

It seem to work :D