Thursday, November 27, 2008

Apache Set up Vitrual Host

Here are the configuration for Apache when setting up virtual host

NameVirtualHost *:80


ServerName dev.leoman730.com
DocumentRoot /Applications/MAMP/htdocs/dev_leoman730



ServerName ocmgt.leoman730.com
DocumentRoot /Applications/MAMP/htdocs/dev_ocmgt



Also remember to modify the hosts file accordingly in order for it to work.

Some more helpful tip can be found: Here