4576 Posts in 1387 Topics by 1377 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1144 Views |
-
mod_rewrite : keep initial rules but add another one for a new site

22 September 2009 at 1:55am
Hello,
My Silverstripe works.
It's installed in /var/www/CMS/ directory and i access to my CMS with an url like http://www.mydomain.com/ without problem.But, i would like to redirect http://www.mydomain.com/communauty/ 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 ?
Thanks, -
Re: mod_rewrite : keep initial rules but add another one for a new site

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.
-
Re: mod_rewrite : keep initial rules but add another one for a new site

29 October 2009 at 11:52pm Last edited: 26 February 2010 11:59am
Hello,
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
- In my Silverstripe '.htaccess' : nothing to change
| 1144 Views | ||
|
Page:
1
|
Go to Top |


