From 68b22caf30f9be7451c3f1473827e65737b1c1f7 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Sun, 30 Mar 2014 00:05:53 +0100 Subject: Removed nonsense. Also cleaned the index.php --- blob/nginx_rewrite_rules | 10 +++++++--- www/include.php | 2 ++ www/index.php | 2 -- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/blob/nginx_rewrite_rules b/blob/nginx_rewrite_rules index eb6b0a2..e6783f0 100755 --- a/blob/nginx_rewrite_rules +++ b/blob/nginx_rewrite_rules @@ -1,11 +1,15 @@ -error_page 401 403 404 /httperror.php?e=40x; -error_page 500 502 504 /httperror.php?e=50x; +error_page 401 /httperror.php?e=401; +error_page 403 /httperror.php?e=403; +error_page 404 /httperror.php?e=404; + +error_page 500 /httperror.php?e=500; +error_page 502 /httperror.php?e=502; +error_page 504 /httperror.php?e=504; location /robots.txt {} #stop rewriting the robots.txt location /favicon.ico {} location /static {} -#location ~* ^/.+[^/].+\.css {} location ~* ^/?login/?([a-z0-9]+=[a-z0-9]+(&[a-z0-9]+=[a-z0-9]+)?)?$ { rewrite ^/?login([?/]?.*) /index.php?task=login&arguments=$1 last; diff --git a/www/include.php b/www/include.php index 69e6227..e24a0c3 100755 --- a/www/include.php +++ b/www/include.php @@ -1,5 +1,7 @@