[NTLUG:Discuss] Apache vhost configuration question
Greg Hewett
ghewett at d-techcorp.com
Mon Jul 24 12:10:13 CDT 2000
Try this:
NameVirtualHost 129.107.56.23
<VirtualHost jchsu.org>
ServerAdmin webmaster at jchsu.org
DocumentRoot /www/jchsu.org
ServerName jchsu.org
ErrorLog /var/log/httpd/jchsu.error_log
TransferLog /var/log/httpd/jchsu.access_log
<Directory /www/jchsu.org>
Options Includes Indexes FollowSymLinks
AllowOverride FileInfo AuthConfig Limit
</Directory>
</VirtualHost>
<VirtualHost hsuhome.com>
ServerAdmin webmaster at hsuhome.com
DocumentRoot /www/hsuhome.com
ServerName hsuhome.com
ErrorLog /var/log/httpd/hsuhome.error_log
TransferLog /var/log/httpd/hsuhome.access_log
<Directory /www/jsuhome.com>
Options Includes Indexes FollowSymLinks
AllowOverride FileInfo AuthConfig Limit
</Directory>
</VirtualHost>
You might also want to add www.hsuhome.com and stuff. because they will not
be "caught".
greg
On Mon, Jul 24, 2000 at 11:31:10AM -0500, MadHat wrote:
> Cameron wrote:
> >
> > * llliiilll at hotmail.com [2000.07.24 08:05]:
> > : <VirtualHost 129.107.56.23>
> > : ServerAdmin webmaster at jchsu.org
> > : DocumentRoot /www/jchsu.org
> > : ServerName jchsu.org
> > : ErrorLog /var/log/httpd/jchsu.error_log
> > : TransferLog /var/log/httpd/jchsu.access_log
> > : <Directory /www/jchsu.org>
> > : Options Includes Indexes FollowSymLinks
> > : AllowOverride FileInfo AuthConfig Limit
> > : </Directory>
> > : </VirtualHost>
> > :
> > : <VirtualHost 129.107.56.23>
> > : ServerAdmin webmaster at hsuhome.com
> > : DocumentRoot /www/hsuhome.com
> > : ServerName hsuhome.com
> > : ErrorLog /var/log/httpd/hsuhome.error_log
> > : TransferLog /var/log/httpd/hsuhome.access_log
> > : <Directory /www/jsuhome.com>
> > : Options Includes Indexes FollowSymLinks
> > : AllowOverride FileInfo AuthConfig Limit
> > : </Directory>
> > : </VirtualHost>
> >
> > try taking the <Directory> tags out like so:
> >
>
> that thouldn't make any difference for this. Do you have the "Bind"
> directive sset? Also I never saw a responce about the DNS entries, are
> the domains set up properly in DNS? If not, try adding them to the
> /etc/hosts file.
>
> --
> MadHat at unspecific.com
> "The 3 great virtues of a programmer:
> Laziness, Impatience, and Hubris."
> --Larry Wall
>
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss
--
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Greg Hewett <ghewett at d-techcorp.com>
PHONE: 972.588.3565 FAX: 972.588.3551
www.D-TechCorp.com
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
More information about the Discuss
mailing list