I guess when I had all the root folders for the websites under
C:\Inetpub\wwwroot\cfdocs\website\index.cfm
they were automatically under the localhost, which is C:\Inetpub\wwwroot...

I would view them like http://localhost/cfdocs/website/index.cfm.

Now that the sites are on another drive, and not under C:\Inetpub\wwwroot,
they're not in the localhost path.

I'll just create virtual directories when I'm ready for a client to view via
the Internet,
but not through their domain, as in http://DefaultWebsite/Website/index.cfm,
then, when it's completed, I'll put it in as a new website and use the host
headers
to direct traffic.

When I mentioned "viewing them locally using localhost", I was referring to
the time when I was developing sites on my development box, not the server.
However, that practice may change, too, as I try to mirror my development
folder structure
with my server structure and practices...

Rick


-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Monday, February 21, 2005 3:57 PM
To: CF-Talk
Subject: RE: How to set virtual sites for localhost viewing?


> I've been using host headers for several years, and serving
> the sites fine...even viewing them locally using localhost,
> but now I'm trying to set up the site directories on a
> separate drive, rather than on the system drive and that's
> where the problem comes in.

The physical location of the files is unrelated to the use of separate
virtual servers using Host headers. I'm not sure what you mean by "viewing
them locally using localhost", since that implies that you're typing
something like "http://localhost/somethingorother/"; in which case you're not
using Host headers unless you've defined your virtual web server to look for
"localhost" specifically within the Host header.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195812
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to