Page 1 of 1
Getting CMSMS to run under subdirectory
Posted: Wed Oct 12, 2005 3:10 pm
by slashman
I'd like to set up CMSMS in a CMS subdirectory under the site root, yet have the site accessible under the root and not the new (installed) CMSMS subdirectory. Is there any way of doing this?
Thanks in advance.
Re: Getting CMSMS to run under subdirectory
Posted: Wed Oct 12, 2005 7:09 pm
by calguy1000
My cms installation is under the document root in a directory called cms.
I used this rewrite rule in the httpd.conf so that any reference to
http://mysite/ goes directly to this page.
Code: Select all
RewriteEngine on
RewriteRule ^/$ /cms [R]
Re: Getting CMSMS to run under subdirectory
Posted: Thu Oct 13, 2005 9:51 pm
by slashman
Thanks Cal. I was looking at going the other way, yet this should work well.
Re: Getting CMSMS to run under subdirectory
Posted: Wed Nov 16, 2005 11:29 am
by alfblack
I did it the old fashon way (and I wasnt sure if I had access to rewrite)..
javascript forwarding.
Hum.. I'll try that rewrite thing.