From a3908b9dffa6c0d7680734fb819e81b3d8687def Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Mon, 27 May 2013 20:43:48 -0500 Subject: Removed .htaccess files, added the motdLockFile --- .htaccess | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 .htaccess (limited to '.htaccess') diff --git a/.htaccess b/.htaccess deleted file mode 100644 index 4ee5960..0000000 --- a/.htaccess +++ /dev/null @@ -1,49 +0,0 @@ -AddHandler x-mapp-php6 .php - -ErrorDocument 400 http://www.mazetd.4xg.net/errors.php?error=400 -ErrorDocument 401 http://www.mazetd.4xg.net/errors.php?error=401 -ErrorDocument 403 http://www.mazetd.4xg.net/errors.php?error=403 -ErrorDocument 404 http://www.mazetd.4xg.net/errors.php?error=404 -ErrorDocument 500 http://www.mazetd.4xg.net/errors.php?error=500 - -RewriteEngine on -RewriteBase / -# Incase someone randomly put .html at the end. -RewriteRule ^([a-z]+)\.html$ /?page=$1 [R,L] - -# Maintains www -RewriteCond %{HTTP_HOST} ^mazetd.4xg\.net -RewriteRule (.*) http://www.mazetd.4xg.net/$1 [R,L] -RewriteRule ^([a-z]+)$ /index\.php?page=$1 [QSA,NC] - -# GetMap Re-write -RewriteRule ^a/map/(.*)$ /ajax/maps\.ajax\.php?mapid=$1 [QSA,NC] - -RewriteRule ^a/mapsbydate/(.*)$ /ajax/maps\.ajax\.php?getmapidsbydate=$1 [QSA,NC] - -RewriteRule ^challenge/(.*)$ /ajax/challenges\.ajax\.php?challengeid=$1 [QSA,NC] -RewriteRule ^a/challenge/(.*)$ /ajax/challenges\.ajax\.php?challengeid=$1 [QSA,NC] - -RewriteRule ^user/(.*)$ /ajax/users\.ajax\.php?userid=$1 [QSA,NC] -RewriteRule ^a/user/(.*)$ /ajax/users\.ajax\.php?userid=$1 [QSA,NC] - -RewriteRule ^a/score/(.*)$ /ajax/scores\.ajax\.php?r=$1 [QSA,NC] - - - -# CSS and JS cache for 480 weeks - -Header set Cache-Control "max-age=290304000, public" - - - - - mod_gzip_on Yes - mod_gzip_dechunk Yes - mod_gzip_item_include file \.(txt|css|js)$ - mod_gzip_item_include handler ^cgi-script$ - mod_gzip_item_include mime ^text/.* - mod_gzip_item_include mime ^application/x-javascript.* - mod_gzip_item_exclude mime ^image/.* - mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* - \ No newline at end of file -- cgit v1.2.3