aboutsummaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorMaZderMind2014-11-09 22:53:16 +0100
committerMaZderMind2014-11-09 22:53:16 +0100
commit7da876b75ee3307e400eab65e6206c8dca7cf56a (patch)
tree75eb1fa9701b54bb9b0a87533915949fe81fbe3e /.htaccess
parentffbff5eb16a30b673d0c8296068cce230c510ca3 (diff)
minirooms (aka sendezentrum)
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess17
1 files changed, 13 insertions, 4 deletions
diff --git a/.htaccess b/.htaccess
index 75851ea..2165afc 100644
--- a/.htaccess
+++ b/.htaccess
@@ -9,10 +9,10 @@ RewriteCond %{REQUEST_FILENAME} !-l
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]
+RewriteRule ^(saal1|saal2|saalg|saal6)/?$ room.php?room=$1&format=hq&language=native [L]
-# /room/ -> 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/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]
@@ -20,8 +20,17 @@ RewriteRule ^(saal1|saal2|saalg|saal6)/(hd|lq|audio|slides)/?$ room.php?room=$1&
# /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|sendezentrum)/?$ party.php?room=$1&format=audio [L]
+RewriteRule ^(lounge|ambient)/?$ party.php?room=$1&format=audio [L]
+
# Show a known page in case of as miss
ErrorDocument 404 404.php