Date: Wed, 8 Dec 1999 22:17:56 -0500 From: "Matthew Jonkman" <jonkman@bussert.com> To: <freebsd-questions@freebsd.org> Subject: Virtual hosts Message-ID: <NDBBJGEMJKEAIMPCIIDOEECJCAAA.jonkman@bussert.com>
next in thread | raw e-mail | index | archive | help
I'm trying to set up apache with the frontpage extensions and use virtual hosts. I've set up the http.conf with <VirtualHost MY IP ADDRESS> 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 </VirtualHost> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBJGEMJKEAIMPCIIDOEECJCAAA.jonkman>