> I just setup my hosts file to direct me: > > 1.) C:\Windows\System32\drivers\etc\hosts\ (In Vista. Not sure about win7) > > write the following: 127.0.0.1/devprojectA/ [tab] dev.projectA.com > > Also, if you are going to push to a windows server with IIS, I suggest you > use the IIS web server instead of the built in version > locally so you can mimic the same mapping as you would use in production. > > This is strictly a preference. There isn't anything wrong with your current > setup at all.
Well, this works, but I'm pretty sure it works by accident - to the best of my knowledge, all the HOSTS file resolves is IP addresses, not directory paths. This will route requests for dev.projectA.com to 127.0.0.1, where your web server can distinguish between them using host header mappings. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331194 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4