blob: 78ef56a7b90f31ca46a0a3ed071aa6cbf0bc6b61 (
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
|
RewriteEngine On
# Deliver literal files as-is
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
# / -> index.php - room/streams list
DirectoryIndex index.php
# /room/ -> room.php - native av-player in hq (with format switcher included)
RewriteRule ^(saal1|saal2|saalg|saal6)/?$ room.php?room=$1&format=hq&language=native [L]
# /room/translated -> room.php - translated av-player in hq (with format switcher included)
RewriteRule ^(saal1|saal2|saalg|saal6)/translated/?$ room.php?room=$1&format=hq&language=translated [L]
# /room/format/ -> room.php - native av-player in $format (with format switcher included)
RewriteRule ^(saal1|saal2|saalg|saal6)/(hd|lq|audio|slides)/?$ room.php?room=$1&format=$2&language=native [L]
# /room/format/translated -> room.php - translated av-player in $format (with format switcher included)
RewriteRule ^(saal1|saal2|saalg|saal6)/(hd|lq|audio|slides)/translated/?$ room.php?room=$1&format=$2&language=translated [L]
# /miniroom/ -> room.php - native av-player in hq
RewriteRule ^(sendezentrum)/?$ room.php?room=$1&format=hq&language=native [L]
# /miniroom/format/ -> room.php - native av-player in $format (no hd, no slides)
RewriteRule ^(sendezentrum)/(lq|audio)/?$ room.php?room=$1&format=$2&language=native [L]
# /party/ -> player.php - simple audio-player for party
RewriteRule ^(lounge|ambient)/?$ party.php?room=$1&format=audio [L]
# /about/ -> about.php
RewriteRule ^about/?$ about.php [L]
# Show a known page in case of as miss
RewriteRule ^404.html$ 404.php [L]
ErrorDocument 404 /~peter/voc-frontends/31c3/404.php
|