aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2007-06-16 21:44:53 +0000
committermatthew <matthew>2007-06-16 21:44:53 +0000
commit1aafd1669d5a58e2a243bbfdf5bb23f6d213ed0c (patch)
treea7a8387f88807e1a7784a4d6933246d19b7bb0d1
parentb866f0cc92f97e8a0161785cccac633230a88eb0 (diff)
Allow negative numbers.
-rw-r--r--conf/httpd.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/httpd.conf b/conf/httpd.conf
index ee1734ab1..f2e0bc856 100644
--- a/conf/httpd.conf
+++ b/conf/httpd.conf
@@ -20,7 +20,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org
#
-# $Id: httpd.conf,v 1.16 2007-06-16 14:20:06 francis Exp $
+# $Id: httpd.conf,v 1.17 2007-06-16 21:44:53 matthew Exp $
DirectoryIndex index.cgi
@@ -35,7 +35,7 @@ RewriteRule ^/[Qq]/([0-9A-Za-z]{16}).*$ /questionnaire.cgi?token=$1
RewriteRule ^/rss/([0-9]+)$ /rss.cgi?type=new_updates;id=$1 [QSA]
RewriteRule ^/rss/([0-9]+),([0-9]+)$ /rss.cgi?type=local_problems;x=$1;y=$2 [QSA]
-RewriteRule ^/rss/l/([0-9.]+),([0-9.]+)$ /rss.cgi?type=local_problems;lat=$1;lon=$2 [QSA]
+RewriteRule ^/rss/l/([0-9.-]+),([0-9.-]+)$ /rss.cgi?type=local_problems;lat=$1;lon=$2 [QSA]
RewriteRule ^/rss/([0-9]+),([0-9]+)/([0-9]+)$ /rss.cgi?type=local_problems;x=$1;y=$2;d=$3 [QSA]
RewriteRule ^/rss/([0-9]+)/([0-9]+)/([0-9]+)$ /rss.cgi?type=local_problems;x=$1;y=$2;d=$3 [QSA]
RewriteRule ^/rss/council/([0-9]+)$ /rss.cgi?type=council_problems;id=$1 [QSA]