ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Simplify Your Life with Apache Virtual Hosts
Subject:   WHY DOESN'T IT WORK??!!
Date:   2005-08-11 20:51:16
From:   Breklin
Hi, I am frustrated beyond all...

I found your excellent tutorial but perhaps I am missing something...

I have made the mods to my httpd.conf file as you recommend but still cannot get my virtual hosts to work.

here is the code i have inputted into apache:

<VirtualHost *:80>
DocumentRoot /www/breklin
ServerName loc-breklin.com
ServerAlias www.loc-breklin.com
ServerAdmin webmaster@breklin.com
HostNameLookups off
<Directory "${path}/www/breklin">
Options All
AllowOverride All
Order allow,deny
Allow from all

Is there a configuration I am not setting right somewhere above this?

Please help.