Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118562 - Virtualhost with * in apache2 causes webmin apache module to stop working
Summary: Virtualhost with * in apache2 causes webmin apache module to stop working
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 11:27 UTC by gtl4407
Modified: 2006-03-31 20:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gtl4407 2006-01-10 11:27:01 UTC
Create any virtual host configuration (either by hand or with webmin) that contains a * like the two examples below. 

<VirtualHost *:80>
DocumentRoot /var/www/www.foo.net/htdocs
ServerName www.foo.net
<Directory "/var/www/www.foo.net/htdocs">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

or

<VirtualHost *>
DocumentRoot /var/www/www.foo.net/htdocs
ServerName www.foo.net
<Directory "/var/www/www.foo.net/htdocs">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

And the apache2 webmin module stops working completely. It won't even load

This would work correclty

<VirtualHost 10.0.0.1:80>
DocumentRoot /var/www/www.foo.net/htdocs
ServerName www.foo.net
<Directory "/var/www/www.foo.net/htdocs">
allow from all
Options +Indexes
</Directory>
</VirtualHost>
Comment 1 gtl4407 2006-01-10 11:28:49 UTC
Using webmin 1.250, perl 5.8.7-r3, apache 2.0.54-r31
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2006-03-31 20:44:44 UTC
Please talk with the webmin devs about this as it's not gentoo specific, and I don't have the resources to address it, thanks.