I am def. a newbie to Apache, I could not set it up.
/system32/drivers/ect/hosts looks like this:
127.0.0.1 localhost
httpd.conf looks like this:
Listen 80
ServerName alienware.mshome.net:80
NameVirtualHost
<VirtualHost >
ServerName patients.net
DocumentRoot "E:/Documents/Websites/client projects/Alex Hartov/patients"
ErrorLog logs/patients.error.log
CustomLog logs/patients.access.log common
CustomLog logs/patients.referer.log referer
CustomLog logs/patients.agent.log agent
</VirtualHost>
<VirtualHost *>
ServerName gvc.net
DocumentRoot "E:/Documents/Websites/client projects/George Cybenko/gvc"
ErrorLog logs/alienware.gvc.error.log
CustomLog logs/alienware.gvc.access.log common
CustomLog logs/alienware.gvc.log referer
CustomLog logs/alienware.gvc.agent.log agent
</VirtualHost>
Vhosts are acting weird and I still can't get Apache to work without the network.
Shu wrote:
Point your virtual hosts in httpd.conf to 127.0.0.1!
Then add whatever names you used to your 'hosts' file under Windows, (check under \winnt\system32\drivers\etc), eg:
127.0.0.1 localhost website1 website2 ...
-> http://website1/ to access