From owner-freebsd-isp Sun Dec 5 22: 0:31 1999 Delivered-To: freebsd-isp@freebsd.org Received: from rowdy.panther.net (rowdy.panther.net [209.197.223.18]) by hub.freebsd.org (Postfix) with ESMTP id 77A6214ED1 for ; Sun, 5 Dec 1999 22:00:00 -0800 (PST) (envelope-from kward@panther.net) Received: from localhost (2555 bytes) by rowdy.panther.net (Smail-3.2.0.104 1998-Nov-20 #3) via sendmail with P:stdio/R:inet_hosts/T:smtp (sender: ) (ident using unix) id for ; Sun, 5 Dec 1999 23:53:53 -0600 (CST) Message-Id: From: kward@panther.net (Keith Ward) Subject: Re: apache vhost question To: aaron@sonntag.org (Aaron Sonntag) Date: Sun, 5 Dec 1999 23:53:52 -0600 (CST) Cc: freebsd-isp@FreeBSD.ORG In-Reply-To: from "Aaron Sonntag" at Dec 5, 99 06:18:25 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2051 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You need a FQDN for the ServerName on the second virtual host. As far as I know, the wildcard can only be used for the ServerAlias directive. i.e.: ServerName www.terraneclipse.net ServerAlias *.terraneclipse.net ... Keith According to the writings of Aaron Sonntag > > When I goto the following VHOST I have no problems > www.terraneclipse.com > > ServerName www.terraneclipse.com > ServerAdmin hostmaster@sonntag.org > DocumentRoot /home/tec_www/public_html > CustomLog /home/tec_www/logs/access_log common > ErrorLog /home/tec_www/logs/error_log > ScriptLog /home/tec_www/logs/script_log > TransferLog /home/tec_www/logs/transfer_log > ScriptAlias /cgi-bin/ /home/tec_www/cgi-bin/ > > but when I goto another VHOST that I want to use the same directories as the > .com version I get the error below > www.terraneclipse.net > > ServerName *.terraneclipse.net > ServerAdmin hostmaster@sonntag.org > DocumentRoot /home/tec_www/public_html > CustomLog /home/tec_www/logs/access_log common > ErrorLog /home/tec_www/logs/error_log > ScriptLog /home/tec_www/logs/script_log > TransferLog /home/tec_www/logs/transfer_log > ScriptAlias /cgi-bin/ /home/tec_www/cgi-bin/ > > [error] > Forbidden > You don't have permission to access / on this server. > > Apache/1.3.9 Server at www.sonntag.org Port 80 > [error] > > any ideas? > Thank you, > Aaron > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > -- Keith Ward N5OOD kward@Panther.net ...!rwsys!rowdy!kward =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= I don't suffer from insanity, I enjoy every minute of it. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message