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

Bug#214687: The problem lies in apacheconfig



You might want to notice that the bug id pending upload. Meaning that the
problem is solved and the fix will be available in the next upload.

BTW apacheconfig doesn't exists anymore

Fabio

On Wed, 8 Oct 2003, James Tait wrote:

> Package: apache
> Version: 1.3.28-1
> Followup-For: Bug #214687
>
> The problem lies in apacheconfig:
>
>                 # splitting the conf to insert the Include
>                 FIRST=`grep -n "# Please keep this LoadModule: line here" $TMP \
>                 | cut -d ":" -f 1`
>                 LAST=`wc -l $TMP | cut -f1 -d " "`
>                 DIFF=`expr $LAST - $FIRST`
>
> It's the assignment of LAST that's wrong here -- I replaced it with
>
>                 LAST=`wc -l $TMP | awk '{print $1}'`
>
> as wc -l returned output beginning with spaces, e.g.
>
>                 <sp><sp><sp><sp>937<sp>/tmp/sometempfile
>
> So the original cut statement returned LAST=' '
>
> --
> System Information:
> Debian Release: testing/unstable
> Architecture: i386
> Kernel: Linux goodytwo.wyrddreams.org 2.4.21-2-k7 #1 Sat Jul 5 03:47:02 EST 2003 i686
> Locale: LANG=C, LC_CTYPE=C
>
> Versions of packages apache depends on:
> ii  apache-common                 1.3.28-1   Support files for all Apache webse
> ii  debconf                       1.3.14     Debian configuration management sy
> ii  dpkg                          1.10.15    Package maintenance system for Deb
> ii  libc6                         2.3.2-8    GNU C Library: Shared libraries an
> ii  libdb4.1                      4.1.25-9   Berkeley v4.1 Database Libraries [
> ii  libexpat1                     1.95.6-6   XML parsing C library - runtime li
> ii  libmagic1                     4.04-1     File type determination library us
> ii  logrotate                     3.6.5-2    Log rotation utility
> ii  mime-support                  3.23-1     MIME files 'mime.types' & 'mailcap
> ii  perl [perl5]                  5.8.1-2    Larry Wall's Practical Extraction
>
> -- debconf information:
>   apache/server-admin: james.tait@wyrddreams.org
>   apache/init: true
> * apache/enable-suexec: true
>   apache/document-root: /var/www
>   apache/server-port: 80
>   apache/server-name: localhost
>
>
>
>

-- 
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: