Инсталиране на libapache2-mod-musicindex под Дебиан 4

Написана от: Мартин Петров
Благодарности на: www.dhstudio.eu

1. apt-get update && apt-get install libapache2-mod-musicindex

2. Edit /etc/apache2/sites-enabled/000-default

2.1. VirtualHost Container
< Directory /var/www/amri/music/> #(remove the space )
  Options Indexes MultiViews FollowSymlinks
  AllowOverride       Indexes
  MusicLister         On
  MusicSortOrder      album disc track artist title length bitrate freq
  MusicFields         title artist length bitrate
  MusicAllowDownload  Off
  MusicAllowStream    On
  MusicAllowSearch    On
  #MusicRssItems       Off
  MusicPageTitle      home
  #MusicIceServer     [ice.domain.my]:8000
  MusicDefaultCss musicindex.css
  MusicIndexCache /tmp/musicindex
  #MusicCookieLife    300
< /Directory> # (remove the space ) 


3. Load Module
cd /etc/apache2/mods-enabled/; 
ln -s ../mods-available/musicindex.conf;
ln -s ../mods-available/musicindex.load;


4. /etc/init.d/apache2 reload

5. Play fun :)