aboutsummaryrefslogtreecommitdiffstats
path: root/conf/apache-vhost.conf.example
diff options
context:
space:
mode:
authorKindrat <legioner@pp-ua.org>2014-03-26 12:38:36 +0200
committerMatthew Somerville <matthew-github@dracos.co.uk>2014-04-07 17:44:23 +0100
commit8f8d5e017e34a0b68a4b9c5c6958c827dcb6a172 (patch)
treee503b583fbc135a7629ed0d0b9ff9a1b899da48d /conf/apache-vhost.conf.example
parentbd79f43d6a2f77b09dab73be3f0ff4d24a800d4a (diff)
Ubuntu Apache vhost config example
Diffstat (limited to 'conf/apache-vhost.conf.example')
-rw-r--r--conf/apache-vhost.conf.example12
1 files changed, 10 insertions, 2 deletions
diff --git a/conf/apache-vhost.conf.example b/conf/apache-vhost.conf.example
index 8f5e53dc9..583eb0cde 100644
--- a/conf/apache-vhost.conf.example
+++ b/conf/apache-vhost.conf.example
@@ -1,6 +1,10 @@
# An example Apache virtualhost configuration file.
#
# See our installation help at http://fixmystreet.org/
+#
+# Hopefully you can use either mod_fastcgi or mod_fcgid.
+# Ubuntu has mod_fcgid by default, with mod_fastcgi in multiverse.
+# Debian has both.
<VirtualHost *:80>
ServerName fixmystreet.yourservername
@@ -11,9 +15,13 @@
<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
+
+ AddHandler your-handler .cgi
+ # mod_fastcgi: AddHandler fastcgi-script .cgi
+ # mod_fcgid: AddHandler fcgid-script .cgi
+ # CGI: AddHandler cgi-script .cgi
+
AllowOverride None
</Directory>