diff --git a/.htaccess b/.htaccess index 92adca9c..03ec17c7 100755 --- a/.htaccess +++ b/.htaccess @@ -4,6 +4,9 @@ RewriteBase / RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L] +RewriteRule ^remote/(.*) php/controller.php?id=$1 [L] +RewriteRule ^remote php/controller.php [L] + RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] diff --git a/php/controller.php b/php/controller.php index 564f65b4..3757bc33 100644 --- a/php/controller.php +++ b/php/controller.php @@ -1,13 +1,14 @@ - + Zöff Remote +
+
+

+
@@ -65,18 +69,26 @@ maxlength="8" autocomplete length="8" + value="" /> - -
- +

+ +

@@ -102,19 +114,19 @@