From owner-freebsd-questions Wed Dec 8 19:17:37 1999 Delivered-To: freebsd-questions@freebsd.org Received: from arf.bussert.COM (arf.bussert.com [209.183.67.130]) by hub.freebsd.org (Postfix) with ESMTP id ED112151D7 for ; Wed, 8 Dec 1999 19:17:29 -0800 (PST) (envelope-from jonkman@bussert.com) Received: from ntworkstation ([209.183.76.130]) by arf.bussert.COM (8.9.3/8.9.3) with SMTP id WAA44018 for ; Wed, 8 Dec 1999 22:22:46 GMT (envelope-from jonkman@bussert.com) From: "Matthew Jonkman" To: Subject: Virtual hosts Date: Wed, 8 Dec 1999 22:17:56 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to set up apache with the frontpage extensions and use virtual hosts. I've set up the http.conf with ServerAdmin jonkman@bussert.com DocumentRoot /usr/local/www/data/132/ ServerName MY DOMAIN NAME ErrorLog logs/132-error_log CustomLog logs/132-access_log common for each IP and rc.conf uses ifconfig_mx0="inet xxx.xxx.76.130 netmask 255.255.255.248" ifconfig_mx0_alias="inet xxx.xxx.76.131 netmask 255.255.255.248" ifconfig_mx0_alias="inet xxx.xxx.76.132 netmask 255.255.255.248" and so on for all 10 virtual hosts I need. Apache won't start and says it the virtual hosts overlap eachother, perhaps I need a NameVirtualHost directive. So I do the NameVirtualHost like so... NameVirtualHost xxx.xxx.76.130:80 NameVirtualHost xxx.xxx.76.131:80 NameVirtualHost xxx.xxx.76.132:80 and I apache won;t start and gives me [Sun Dec 5 23:36:04 1999] [warn] NameVirtualHost xxx.xxx.76.130:80 has no VirtualHosts [Sun Dec 5 23:36:04 1999] [warn] NameVirtualHost xxx.xxx.76.130:80 has no VirtualHosts [Sun Dec 5 23:36:04 1999] [warn] NameVirtualHost xxx.xxx.76.130:80 has no VirtualHosts for all my IP's. I seem to think it may be related to the alias and all the IP's being on a single interface, but I don;t know a different way to do it. Can anyone help? Please! Thanks Matthew Jonkman Bussert Consulting To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message