summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-02-17 03:08:22 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-02-17 03:08:22 -0800
commit1ca6e18e28e8f87e3c77e824034d186aff1686aa (patch)
treea525ac527483d53e2c539b6c4ea97c0ae5ecf3a3 /.htaccess
parente6ecd5ae507731050d7281f2a2a192849f41912b (diff)
downloadpathery-1ca6e18e28e8f87e3c77e824034d186aff1686aa.tar.xz
Challenge maps can be accessed with domain/challenge/ID.js
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess2
1 files changed, 2 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 30b2ace..e85e1f5 100644
--- a/.htaccess
+++ b/.htaccess
@@ -19,6 +19,8 @@ RewriteRule ^([a-z]+)$ /index\.php?page=$1 [QSA,NC]
# GetMap Re-write
RewriteRule ^map/(.*)$ /ajax/maps\.ajax\.php?mapid=$1 [QSA,NC]
+RewriteRule ^challenge/(.*)$ /ajax/challenges\.ajax\.php?challengeid=$1 [QSA,NC]
+
# CSS and JS cache for 480 weeks
<filesMatch "\.(css|js)$">