Re: [SLUG] Apache2 virtual hosts

From: Joe Brandt (vzd1s11k@verizon.net)
Date: Sat Jun 18 2005 - 16:01:24 EDT


> ------------ cut -------------
> NameVirtualHost *:80
>
> <VirtualHost *:80>
> DocumentRoot /var/www/html/joedi
> ServerName joedienterprises.com
> ServerAlias www.joedienterprises.com
> <Directory /var/www/html/joedi>
> Options +Indexes
> <IfModule mod_access.c>
> Order allow,deny
> Allow from all
> </IfModule>
> </Directory>
> </VirtualHost>
>
> <VirtualHost *:80>
> DocumentRoot /var/www/html/hams
> ServerName hamsbeer.com
> ServerAlias www.hamsbeer.com
> <Directory /var/www/html/hams>
> Options +Indexes
> <IfModule mod_access.c>
> Order allow,deny
> Allow from all
> </IfModule>
> </Directory>
> </VirtualHost>

It works beautifully, thank you.

It appears that the missing key ia the virtual host *:80 name.
What is the mod_access.c ?

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:16:07 EDT