Getting CMSMS to run under subdirectory

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
slashman

Getting CMSMS to run under subdirectory

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Getting CMSMS to run under subdirectory

Post 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]
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.
slashman

Re: Getting CMSMS to run under subdirectory

Post by slashman »

Thanks Cal. I was looking at going the other way, yet this should work well.
alfblack

Re: Getting CMSMS to run under subdirectory

Post 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.
Locked

Return to “CMSMS Core”