aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/general-example5
-rw-r--r--conf/httpd.conf5
2 files changed, 8 insertions, 2 deletions
diff --git a/conf/general-example b/conf/general-example
index 95cc19252..abe232331 100644
--- a/conf/general-example
+++ b/conf/general-example
@@ -14,7 +14,7 @@
* Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
* Email: francis@mysociety.org; WWW: http://www.mysociety.org
*
- * $Id: general-example,v 1.4 2006-09-22 18:19:37 francis Exp $
+ * $Id: general-example,v 1.5 2006-09-25 22:59:06 matthew Exp $
*
*/
@@ -25,6 +25,9 @@ define('OPTION_BCI_DB_NAME', 'bci');
define('OPTION_BCI_DB_USER', 'bci');
define('OPTION_BCI_DB_PASS', '');
+define('OPTION_BASE_URL', 'http://www.example.org');
+define('OPTION_CONTACT_EMAIL', 'team@example.org');
+
define('OPTION_MAPIT_URL', 'http://services.mysociety.org/mapit');
define('OPTION_TILES_URL', 'http://tilma.mysociety.org/tileserver/10k-full-london');
diff --git a/conf/httpd.conf b/conf/httpd.conf
index cc5cea12a..d151abcfa 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.2 2006-09-25 18:12:55 matthew Exp $
+# $Id: httpd.conf,v 1.3 2006-09-25 22:59:06 matthew Exp $
DirectoryIndex index.cgi
@@ -28,6 +28,9 @@ RewriteEngine on
#RewriteLog /var/log/apache/rewrite.log
#RewriteLogLevel 3
+RewriteRule ^/[Cc]/([0-9A-Za-z]{16}).*$ /confirm.cgi?type=comment;token=$1
+RewriteRule ^/[Pp]/([0-9A-Za-z]{16}).*$ /confirm.cgi?type=problem;token=$1
+
# CGI files can be referred without CGI
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}.cgi -f
RewriteRule /(.+) /$1.cgi [PT]