[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache vhost bug (patch included)



Hi all,

Stephen Gran <sgran@debian.org> wrote:
> <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




Reply to: