Package: libapache2-mod-musicindex
Version: 1.2.2-2
Severity: normal

Hi,

(This problem is very much related to madduck's #385619 local images
issue.  I don't know how to open up an archived bug.)

Summary: musicindex is not following the Alias for the three footer
files, instead using DocumentRoot.

Basically, musicindex, contrary to the documentation, does not read in
the local versions of loveRss.gif, etc, because it is looking in the
wrong place.

Despite vcss et al being in the /usr/share/mod_musicindex directory,
chmod'ed 644, etc, and the proper musicindex.conf pointing an Alias to
the /usr/share, as suggested by the documentation, musicindex still
looks to the remote server.

Here's the proof:

My DocumentRoot is /data/www, the Alias for /musicindex is
/usr/share/musicindex:

(strace -f -p apache-worker-process)
[pid 11463] access("/data/www/musicindex/valid-xhtml11", R_OK) = -1 ENOENT (No 
such file or directory)
[pid 11463] access("/data/www/musicindex/vcss", R_OK) = -1 ENOENT (No such file 
or directory)
[pid 11463] access("/data/www/musicindex/loveRss.gif", R_OK) = -1 ENOENT (No 
such file or directory)

Basically, the module is improperly looking for the files under
DocumentRoot/musicindex, instead of using the Alias'ed /musicindex
directory.  That's why it goes afar looking for it.  When I make a
/data/www/musicindex directory and drop vcss et al there, it picks up
the images.

Presumably, you couldn't duplicate it in 385619 because in a default
install, /var/www/ is the DocumentRoot and by happenstance, it was
looking in the right place.

(I know the alias works because when I rename a file in the aliased
directory, it breaks the image in the generated page.)

Thanks for the module, it's very nice!

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libapache2-mod-musicindex depends on:
ii  apache2.2-common            2.2.9-6      Apache HTTP Server common files
ii  libapr1                     1.2.7-8.2    The Apache Portable Runtime Librar
ii  libarchive1                 2.4.11-1     Single library to read/write tar, 
ii  libc6                       2.7-4        GNU C Library: Shared libraries
ii  libflac8                    1.1.4-3      Free Lossless Audio Codec - runtim
ii  libid3tag0                  0.15.1b-10   ID3 tag reading library from the M
ii  libmad0                     0.15.1b-3    MPEG audio decoder library
ii  libvorbis0a                 1.2.0.dfsg-2 The Vorbis General Audio Compressi
ii  libvorbisfile3              1.2.0.dfsg-2 The Vorbis General Audio Compressi
ii  mod-musicindex-common       1.2.2-2      Common files for mod-musicindex

libapache2-mod-musicindex recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to