From 02d66ee81759a7a1f9283ab09e0aac9091208e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Mon, 11 Apr 2016 11:44:31 +0200 Subject: [PATCH] Added bot.php and added it to the htaccess --- .htaccess | 4 +++ php/bot.php | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 php/bot.php diff --git a/.htaccess b/.htaccess index 1b7c145e..48fd6439 100755 --- a/.htaccess +++ b/.htaccess @@ -13,6 +13,10 @@ RewriteCond %{HTTP_HOST} ^remote.zoff.no RewriteCond %{REQUEST_URI} !/static RewriteRule ^(.*)$ php/controller.php [L,NC,QSA] +RewriteCond %{HTTP_HOST} ^bot.zoff.no +RewriteCond %{REQUEST_URI} !/static +RewriteRule ^(.*)$ php/bot.php [L,NC,QSA] + #RewriteCond %{HTTP_HOST} ^(remote\.)?zoff\.no #RewriteCond %{REQUEST_URI} !remote/ #RewriteRule ^(.*)$ remote/$1 [L] diff --git a/php/bot.php b/php/bot.php new file mode 100644 index 00000000..a12c5b09 --- /dev/null +++ b/php/bot.php @@ -0,0 +1,76 @@ + + + + + + + +
+ + + + +
+ +
+
+

Bot!

+
+
+ + + + + + +