aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-02-03 14:43:45 +0000
committerEdmund von der Burg <evdb@mysociety.org>2011-02-03 14:43:45 +0000
commit72a74291dea0274b52cf5796b2b3d110d1c3e49f (patch)
tree8265dcd5ec4bee66d1c50f52d9e1dd9c21de342a
parent1c2e0263cdad3f409da36c55841efd0e3e19ddba (diff)
Updated httpd config file for use with Apache2
-rw-r--r--conf/httpd.conf34
1 files changed, 20 insertions, 14 deletions
diff --git a/conf/httpd.conf b/conf/httpd.conf
index 1e6b8979e..e3f8e5c06 100644
--- a/conf/httpd.conf
+++ b/conf/httpd.conf
@@ -1,24 +1,30 @@
-# Apache configuration for Broken Civic Infrastructure.
+# Apache configuration for FixMyStreet.
#
-# Add lines something like this to your main /etc/apache/httpd.conf:
+# Add lines something like this to your /etc/apache2/sites-enabled/fixmystreet -
+# replacing '/home/yourname/fixmystreet' with the path to your install
#
# # FixMyStreet
# <VirtualHost *:80>
-# ServerName fixmystreet.owl
-# DocumentRoot /home/francis/devel/fixmystreet/web/
-# <Directory /home/francis/devel/fixmystreet/web>
-# Include /home/francis/devel/fixmystreet/conf/httpd.conf
+# ServerName fixmystreet.yourservername
+# DocumentRoot /home/yourname/fixmystreet/web/
+#
+# # Pull in th specific config
+# Include /home/yourname/fixmystreet/conf/httpd.conf
+#
+# <Directory /home/yourname/fixmystreet/web>
+# # You also need to enable cgi files to run as CGI scripts. For example:
+# # on production servers these are run under fastcgi
+# Options +ExecCGI
+# AddHandler cgi-script .cgi
# </Directory>
-# Alias /admin/ /home/francis/devel/fixmystreet/web-admin/
+#
+# Alias /admin/ /home/yourname/fixmystreet/web-admin/
+#
# </VirtualHost>
#
-# You also need to enable cgi files to run as CGI scripts. For example:
-#
-# Options +ExecCGI
-# AddHandler cgi-script .cgi
#
-# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
-# Email: francis@mysociety.org; WWW: http://www.mysociety.org
+# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. Email:
+# francis@mysociety.org; WWW: http://www.mysociety.org
#
# $Id: httpd.conf,v 1.40 2009-10-21 15:22:36 louise Exp $
@@ -77,7 +83,7 @@ RewriteRule ^/alerts/?$ /alert [R=permanent]
RewriteRule ^/json/problems/new$ /json.cgi?type=new_problems [QSA]
RewriteRule ^/json/problems/fixed$ /json.cgi?type=fixed_problems [QSA]
-ProxyPass /tilma/ http://tilma.mysociety.org/
+ProxyPass /tilma/ http://tilma.mysociety.org/
ProxyPassReverse /tilma/ http://tilma.mysociety.org/
# CGI files can be referred without CGI