summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-02-20 02:09:51 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-02-20 02:09:51 -0800
commitcca5872bd5f6e50626faedd42fc298cef0b001db (patch)
tree459251a467feceead625036c91ff5903a1456383 /.htaccess
parent7ae48075590b09e4892daf1e218ef32c6717bfc0 (diff)
downloadpathery-cca5872bd5f6e50626faedd42fc298cef0b001db.tar.xz
Switched to PHP 5.4 . Added domain/user/id.js to the url rewrite. Added users.ajax.php
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess4
1 files changed, 3 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index e85e1f5..c8a1820 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,4 +1,4 @@
-AddType x-mapp-php5 .php
+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
@@ -21,6 +21,8 @@ RewriteRule ^map/(.*)$ /ajax/maps\.ajax\.php?mapid=$1 [QSA,NC]
RewriteRule ^challenge/(.*)$ /ajax/challenges\.ajax\.php?challengeid=$1 [QSA,NC]
+RewriteRule ^user/(.*)$ /ajax/users\.ajax\.php?userid=$1 [QSA,NC]
+
# CSS and JS cache for 480 weeks
<filesMatch "\.(css|js)$">