in my config. I map an IP to an application that serves an undefined amount 
of sites. I create one IIS site, filtering on just IP address.

All domains mapped to that IP address are processed by the same 
application.cfm, index.cfm page. In the application.cfm I parse the 
http_host (not sure when and where it is included in the browser information 
there is a legacy browser issue with this technique but it is possible to 
work around.) and from that information I generate the particular site.

I control everything on the site - so it is easy for me - but - if I was to 
allow them to publish their own HTML pages - well hmmm. i have crazy notions 
on how to make it work - but I guessing you can do something straight 
forward which is simpler.

Summary.
If you have a limited number of subdomains - just create a new website for 
each (virtual domain). If you want to automatically generate subdomains for 
a huge amount of subdomains - then IMO you are better off creating one site 
engine that parses the domain for content to include.

Eric

From: Ian Tait <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: CF-Talk <[EMAIL PROTECTED]>
Subject: RE: Disguising the URL
Date: Fri, 7 Jun 2002 17:09:59 +0100

Well...

Are the sites being accessed as www.domain.com, www.sub1.domain.com etc,
with each subdomain is in its own directory,  if that is the question - then
virtual hosts are the way, no?

Ian

"I have a site using subdomains, with each subdomain in it's own
subdirectory.  The main domain is in it's own dir as well.  Is there a way
to make the URL show up as www.domain.com rather than
www.domain.com/domain?"

-----Original Message-----
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: 07 June 2002 16:44
To: CF-Talk
Subject: RE: Disguising the URL


 > Eh?
 >
 > Apache - Virtualhost directive in httpd.conf
 > IIS - create a virtual site and point it at whatever dir you like...
 >
 > Or am I missing some vital piece of info? :-)

Form the way I read the original request, he wanted anyone who typed in
www.domain.com/domain to only see www.domain.com in the URL, keeping
www.domain.com as a separate entity as well

How can you do this with virtual sites?

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************




______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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