Discussion:
Apache vhost bug (patch included)
Jan-Pascal van Best
2007-05-24 07:51:55 UTC
Permalink
Hi all,
<VirtualHost *> is certainly wrong in my environments. I tend to use
<VirtualHost 1.2.3.4:80> type declarations. Can we perhaps make this
configurable instead? Sean, if you are busy, I can try to take a look
over the weekend.

Actually, Apache does support <VirtualHost hostname> (although it's not
recommended). See
http://httpd.apache.org/docs/2.2/mod/core.html#virtualhost. The ServerName
directive is still needed! Maybe that would be an idea?

<VirtualHost _WC_VHOST_>
ServerName _WC_VHOST_
Include /etc/webapps-common/apps-enabled/_WC_HTTPD_/_WC_VHOST_/*.conf
</VirtualHost>

This doesn't solve the tcp port number problem, though.

Cheers

Jan-Pascal
--
To UNSUBSCRIBE, email to debian-webapps-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Loading...