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

Apache vhost bug (patch included)



Hi Sean and others,

I'm using the svn version of webapps-common (rev. 109) for the packaging
of phpesp (Bug#421268). I've found that the apache-vhost option creates
wrong Apache config files: the vhost name should be given in a ServerName
directive, not in the <VirtualHost> tag. The current config file breaks
all Apache vhosts :-(

See patch

By the way, thanks for the good work on webapps-common. It makes my life
as a packager a lot easier. Any ideas as to when it will be released into
Debian?

Cheers

Jan-Pascal


--- templates/apache-virtualhost.conf   (revision 109)
+++ templates/apache-virtualhost.conf   (working copy)
@@ -1,3 +1,4 @@
-<VirtualHost _WC_VHOST_>
+<VirtualHost *>
+       ServerName _WC_VHOST_
        Include /etc/webapps-common/apps-enabled/_WC_HTTPD_/_WC_VHOST_/*.conf
 </VirtualHost>





Reply to: