MusicIndex

From HerzbubeWiki
Jump to: navigation, search

Debian packages

The following Debian packages need to be installed:

libapache2-mod-musicinde


References

/usr/share/doc/mod-musicindex-common


Configuration

Activate module

a2enmod musicindex
apache2ctl graceful

The files in /usr/share/mod_musicindex are now available under the Alias

/musicindex/

This alias must not be changed because

  • the module has been compiled with a hard-coded location where to get its .css file.
  • the .css file in turn access some .png files that are expected to be located below /musicindex/


Make a directory available

Add the following block to the Web server configuration:

<Directory /var/www/herzbube.ch/music/>
  Options Indexes MultiViews FollowSymlinks
  AllowOverride All
</Directory>

In addition, create a file named .htaccess in the target directory. The file should have the following content:

MusicLister         On
MusicAllowDownload  On
MusicAllowStream    On
MusicPageTitle      herzbube.ch