diff options
author | MaZderMind | 2014-10-01 10:33:00 +0200 |
---|---|---|
committer | MaZderMind | 2014-10-01 10:33:00 +0200 |
commit | bf4c140f5438101d87dcb0395c7c778585b7fe09 (patch) | |
tree | 6ebaf53ec3205222ca00796f9d880f719b2bb54a /.htaccess |
31c3 php player site
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..7b25039 --- /dev/null +++ b/.htaccess @@ -0,0 +1,22 @@ +RewriteEngine On + +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_FILENAME} !-l + + +# / -> index.php - room/streams list + +# /room/ -> room.php - list of qualities/formats +RewriteRule ^(saal1|saal2|saalg|saalz)/?$ room.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 ^(launge|sendezentrum)/?$ player.php?room=$1&format=audio&language=native [L] + +ErrorDocument 404 404.php |