Forum Moderators: phranque

Message Too Old, No Replies

Set root for each subdirectory

         

dsp87

6:37 pm on Apr 2, 2010 (gmt 0)

10+ Year Member



Hi,

My Apache testserver contains several directories, each containing a different CMS designed to work within the root directory. So each of these CMS's expect to run in the root folder ("/") and not in some subdirectory ("/cms1/","/cms2/" etc.).

How can I make each CMS think it is running inside the main root and not in a subdirectory? Anyone have any idea how to do this?

I've coded htaccess in the past but this is way over my head. Any help would be greatly appreciated.

Thank you

g1smd

6:47 pm on Apr 2, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



There needs to be something in the URL requests to flag up which one the request is destined for.

Usually a folder-like URL structure is the way to go, but it could be simple hyphenated prefix on page URLs.