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

Bug#215776: Upgrade mangles Include file



On Tue, 14 Oct 2003, Matthew Wilcox wrote:

> On Tue, Oct 14, 2003 at 11:56:26AM -0500, Dave O wrote:
> > Package: apache
> > Version: 1.3.28-3
> >
> > Upgrading apache caused a file which is in apache.conf as an Include to be
> > mangled.  The Include was the entire contents of a <VirtualHost> section
> > and inside the file, both the ServerName and DocumentRoot directives were
> > changed to the server defaults.  I have 3 Include files as VirtualHost
> > configurations and this was done to 2 of them
>
> Could you be more specific about the mangling, eg by attaching the
> files that were mangled to the bug report.  The original files would
> also be useful.
>

Original file:

    ServerName www.jack-tompkins.com
    ServerAlias jack-tompkins.com

    DocumentRoot /home/jackt/web/jack-tompkins/docs

    ErrorLog     "|/usr/sbin/rotatelogs /home/jackt/web/logs/jt.com-errors 86400"
    CustomLog    "|/usr/sbin/rotatelogs /home/jackt/web/logs/jt.com-access 86400" combined

    DirectoryIndex index.shtml index.htm index.html

-------------------------------------------------------------------------------

Mangled file:

ServerName www.genericorp.net
    ServerAlias jack-tompkins.com

DocumentRoot /var/www

    ErrorLog     "|/usr/sbin/rotatelogs /home/jackt/web/logs/jt.com-errors 86400"
    CustomLog    "|/usr/sbin/rotatelogs /home/jackt/web/logs/jt.com-access 86400" combined

    DirectoryIndex index.shtml index.htm index.html




Reply to: