I followed the guide line by line and this keeps showing up in my apache logs. I've been through every file in /etc/apache2/ and there is nothing with Virtualhost *.
Logged In: YES
after using webmin you may have to edit httpd.conf manually !
# httpd -S to verify httpd.conf BEFORE reloading/restarting apache
1) CHECK NameVirtualHost is a single IP address (without any port)
2) CHECK VirtualHost also specifies a single IP address (without any port)
3) CHECK that the very FIRST NameVirtualHost you create in webmin points to a default site
(since all unmatched vhosts default to going to your FIRST vhost site
# egrep "NameVirt|VirtualHost" httpd.conf
allow from all
I got this same error using Webmin 1.450 on CentOS 5.2 with apache 2.2.3. Turns out that my NameVirtualHost statements had the IP without the port # appended (i.e. NameVirtualHost xxx.xxx.xxx.xxx) while my <VirtualHost> containers did have the port number (i.e. <VirtualHost xxx.xxx.xxx.xxx:80>. Appending the port number to the NameVirtualHost ips manually fixed it. However, this inconsistency does appear to be a bug of sorts in the apache module of Webmin, as that is how it set things up.
Log in to post a comment.