Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2003 15:13:09 -0500
From:      Brian McCann <bjm1287@ritvax.isc.rit.edu>
To:        freebsd-questions@freebsd.org
Subject:   Apache problems
Message-ID:  <000001c2eb2f$4ca817b0$2f811581@garfield>

next in thread | raw e-mail | index | archive | help
	Hey all.  I'm having some (hopefully) simple problems with
Apache 1.3.  I'm going to be hosting several sites on an private server,
domain is "toontown.local".  My problem is when I add the virtual host
entry in for, say, phpmyadmin.toontown.local, no matter how I access
that server, it will always go to that site.  In DNS I have 2 a records:
www.toontown.local and phpmyadmin.toontown.local, both have forward and
reverse entries.  Here's what I'm sticking in the httpd.conf file:

<VirtualHost *>
     DocumentRoot "/webs/www.toontown.local"
     ServerName LocalWWW
</VirtualHost>

<VirtualHost phpmyadmin.toontown.local>
     DocumentRoot /webs/phpMyAdmin
     ServerName phpMyAdmin
</VirtualHost>

  Can anyone offer any insight?  I've done this before on other servers
that host 10+ sites, but for some reason, I can't figure this out.

Thanks,
--Brian


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c2eb2f$4ca817b0$2f811581>