aboutsummaryrefslogtreecommitdiff
path: root/.htaccess
blob: 8915f0a293592871e50ce9e0bb851cc1b3822642 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l


# / -> index.php - room/streams list
DirectoryIndex index.php

# /room/ -> formats.php - list of qualities/formats
RewriteRule ^(saal1|saal2|saalg|saalz)/?$ formats.php?room=$1 [L]

# /room/format/ -> player.php - native av-player for room
RewriteRule ^(saal1|saal2|saalg|saalz)/(hd|hq|lq|audio|slides)/?$ player.php?room=$1&format=$2&language=native [L]

# /room/format/translated -> player.php - translated av-player for room
RewriteRule ^(saal1|saal2|saalg|saalz)/(hd|hq|lq|audio|slides)/translated/?$ player.php?room=$1&format=$2&language=translated [L]

# /party/ -> player.php - simple audio-player for party
RewriteRule ^(lounge|sendezentrum)/?$ player.php?room=$1&format=audio&language=native [L]

ErrorDocument 404 404.php