summaryrefslogtreecommitdiff
blob: 8ad36476766364a39f975f4a73c1436280a8cf2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<IfDefine MP3>
  <IfModule !mod_mp3.c>
    LoadModule mp3_module     modules/mod_mp3.so
  </IfModule>
</IfDefine>

<IfModule mod_mp3.c>

# There are more examples and documentation of all directives 
# in /usr/share/doc/mod_mp3-<pkgversion>

<Location /mp3>

# Uncomment this line to turn on the streaming server
#MP3Engine On

# The name of your server
MP3CastName "Gentoo MP3 Streamer"

# The genre of music sent to client
MP3Genre "Sound of Open Source"

# Uncomment if you want to stream files randomly
#MP3Random On

# Uncomment this loop through all files
#MP3Loop On

# Change this to where your MP3s are
MP3 /media/mp3

</Location>

<Location /mp3-status>
  SetHandler mp3-status
  Order deny,allow
  Deny from all
  Allow from localhost
</Location>

</IfModule>