Apache as Streaming Server with mod_mp3
At first we install the apache module mod_mp3.
root:~# apt-get install libapache-mod-mp3
Then we add the apache module to apache module list /etc/apache/modules.conf
.
root:~# a2enmod mp3
Now we define a vhost in /etc/apache/conf.d/vhost.conf
.
<VirtualHost *:80>
ServerName mp3.example.com
MP3Engine On
MP3CastName "Music with mod_mp3"
MP3 /home/tux/music
MP3Random On
#Increase this if your connections are timing out
Timeout 1200
ErrorLog /var/log/apache/mp3_error.log
</VirtualHost>
Finsh – now can you add the URL in totem player ore your favorite mp3 player as location.