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.
Getting CMSMS to run under subdirectory
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Getting CMSMS to run under subdirectory
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.
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]
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
slashman
Re: Getting CMSMS to run under subdirectory
Thanks Cal. I was looking at going the other way, yet this should work well.
-
alfblack
Re: Getting CMSMS to run under subdirectory
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.
javascript forwarding.
Hum.. I'll try that rewrite thing.
