[sf-lug] Apache vitrual hosts

vincent polite vpolitewebsiteguy at yahoo.com
Fri Feb 27 11:42:44 PST 2009


Hi,
I'm trying to setup some virtual hosts on my Apache install, on Hardy Heron. If I wanted to use a specific, non-routable, ip address, instead of the loopback address, how would I do it? Would I use the following:

 <VirtualHost 192.168.0.1:80>
  ServerName sitename
  ServerAdmin me at myserver
  DocumentRoot /home/vincent/www/sitename
  <Directory /home/vincent/www/sitename
>
     Options -Indexes
     AllowOverride All
     Order Allow,Deny
     Allow From All
  </Directory>
  </VirtualHost>

Thanks,
Vince

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxmafia.com/pipermail/sf-lug/attachments/20090227/e5a30766/attachment.html>


More information about the sf-lug mailing list