You're saying you have multiple domains pointing to the same directory? And
you want to divide the sites into separate subdirectories? ... You should be
able to use relative paths, but as long as you divide the sites into
separate subdirectories, you'll have to put up with that subdirectory being
a part of the path ...

If you use cfm for all the sites and then you could ( for instance ) create
a pages in the root that cfinclude files in the given site subfolder, i.e.
when you go to www.site1.com the index.cfm file in the root folder uses this
tag:

<cfinclude
template="#cgi.http_host#/#getfilefrompath(getbasetemplatepath())#">

To include the index.cfm file in the www.site1.com subdirectory... You might
want to massage the http_host variable some with a regex to get
http://site1.com and http://www.site1.com to go to the same subdirectory.

hth

Isaac Dealey

www.turnkey.to
954-776-0046
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to