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

Bug#214780: postinst is making a mess of /etc/apache/httpd.conf



severity 214780 grave
tags 214780 pending
merge 214465 214487 214531 214780
stop
quit


This is a known problem. Reported already several times in the Debian Bug
Tracking System.

On Wed, 8 Oct 2003 sacrificial-spam-address@horizon.com wrote:

> Package: apache
> Version: 1.3.28-1
>
> I haven't traced it through, but with a name-based virtual
> server configuration:
>
>   [snippage]
> > ServerAdmin antiwebmaster@horizon.com
> > ServerName www.horizon.com
>   [snippage]
> >
> > <VirtualHost 192.35.100.4>
> > ServerAdmin antiwebmaster@horizon.com
> > DocumentRoot /home/www/horizon.com
> > ServerName www.horizon.com
> > ErrorLog /var/log/apache/horizon.com-error.log
> > TransferLog /var/log/apache/horizon.com-access.log
> > </VirtualHost>
> >
> > <VirtualHost 192.35.100.4>
> > ServerAdmin antiwebmaster@auxdomain1.com
> > DocumentRoot /home/www/auxdomain1.com
> > ServerName www.auxdomain1.com
> > ErrorLog /var/log/apache/auxdomain1.com-error.log
> > TransferLog /var/log/apache/auxdomain1.com-access.log
> > </VirtualHost>
> >
> > <VirtualHost 192.35.100.4>
> > ServerAdmin antiwebmaster@auxdomain2.com
> > DocumentRoot /home/www/auxdomain2.com
> > ServerName www.auxdomain2.com
> > ErrorLog /var/log/apache/auxdomain2.com-error.log
> > TransferLog /var/log/apache/auxdomain2.com-access.log
> > </VirtualHost>
>
> The postinst is doing wierd things like changing every
> ServerAdmin, ServerName, and DocumentRoot  line to:
>
> ServerAdmin antiwebmaster@horizon.com antiwebmaster@horizon.com antiwebmaster@auxdomain1.com antiwebmaster@auxdomain2.com
> ServerName www.horizon.com www.horizon.com www.auxdomain1.com www.auxdomain2.com
> DocumentRoot /home/www/horizon.com /home/www/auxdomain1.com /home/www/auxdomain2.com
>
> (Including the commented-out example "#ServerName host.some_domain.com" line.)
>
> This results in an unusable httpd.conf file.
>
>
> Thanks for fixing the debconf stuff, but perhaps it needs a little *more*
> fixing...
>
>
>

-- 
Our mission: make IPv6 the default IP protocol
"We are on a mission from God" - Elwood Blues

http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp00004.html



Reply to: