> Suppose you have a site in production - where "/" maps to the 
> site root. You don't have control over the production environment
> web server (it's shared hosting perhaps).
> 
> But you have multiple sites on your local development box 
> where you would have to use "/site1", "/site2" or whatever to 
> map to the site roots.  You can't use "/" because your local 
> web server wouldn't know which of your sites to map to.
> 
> How do you resolve this by adding sites in Apache?

You can run multiple virtual servers with Apache, and either bind them to
different ports or host headers so that you can resolve to them on your
local machine. I used to use Apache on my XP development laptop for just
this reason. I'd use host headers, then put corresponding entries in my
hosts file to resolve the host header names to 127.0.0.1.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276786
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to