diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-05-27 20:29:58 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-05-27 20:29:58 -0700 |
commit | dcaeec583ca5e99941a725c0784a382ed29bd529 (patch) | |
tree | f2194f8c48f4bd7dbbe858d83ca796904bb898ca | |
parent | a81858ef82af7469e843e2e6a84ca220330003e3 (diff) | |
download | pathery-dcaeec583ca5e99941a725c0784a382ed29bd529.tar.xz |
Removed no-longer neccessary .htaccess - i'll keep a backup incase we ever use apache again.
-rw-r--r-- | .htaccess | 49 | ||||
-rw-r--r-- | changelog/.htaccess | 1 | ||||
-rw-r--r-- | images/.htaccess | 7 | ||||
-rw-r--r-- | images/marks/.htaccess | 1 | ||||
-rw-r--r-- | includes/.htaccess | 1 | ||||
-rw-r--r-- | pages/.htaccess | 1 | ||||
-rw-r--r-- | sounds/.htaccess | 15 |
7 files changed, 0 insertions, 75 deletions
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
-<filesMatch "\.(css|js)$">
-Header set Cache-Control "max-age=290304000, public"
-</filesMatch>
-
-
-<ifModule mod_gzip.c>
- 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.*
-</ifModule>
\ No newline at end of file diff --git a/changelog/.htaccess b/changelog/.htaccess deleted file mode 100644 index 3418e55..0000000 --- a/changelog/.htaccess +++ /dev/null @@ -1 +0,0 @@ -deny from all
\ No newline at end of file diff --git a/images/.htaccess b/images/.htaccess deleted file mode 100644 index c9d7886..0000000 --- a/images/.htaccess +++ /dev/null @@ -1,7 +0,0 @@ -# 480 weeks
-<filesMatch "\.(jpg|jpeg|png|gif)$">
-Header set Cache-Control "max-age=290304000, public"
-</filesMatch>
-
-# Incase of missing images
-ErrorDocument 404 http://www.pathery.com/images/blank.png?error404=true
\ No newline at end of file diff --git a/images/marks/.htaccess b/images/marks/.htaccess deleted file mode 100644 index 04bc913..0000000 --- a/images/marks/.htaccess +++ /dev/null @@ -1 +0,0 @@ -DirectoryIndex blank.png
\ No newline at end of file diff --git a/includes/.htaccess b/includes/.htaccess deleted file mode 100644 index 3418e55..0000000 --- a/includes/.htaccess +++ /dev/null @@ -1 +0,0 @@ -deny from all
\ No newline at end of file diff --git a/pages/.htaccess b/pages/.htaccess deleted file mode 100644 index 3418e55..0000000 --- a/pages/.htaccess +++ /dev/null @@ -1 +0,0 @@ -deny from all
\ No newline at end of file diff --git a/sounds/.htaccess b/sounds/.htaccess deleted file mode 100644 index 657e345..0000000 --- a/sounds/.htaccess +++ /dev/null @@ -1,15 +0,0 @@ -# 480 weeks
-<FilesMatch "\.(mp3|flv|jpg|jpeg|png|gif|js|swf)$">
-Header set Cache-Control "max-age=290304000, public"
-</FilesMatch>
-
-<ifModule mod_gzip.c>
- mod_gzip_on Yes
- mod_gzip_dechunk Yes
- mod_gzip_item_include file \.(swf|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.*
-</ifModule>
\ No newline at end of file |