diff options
-rw-r--r-- | conf/apache-vhost.conf.example | 12 |
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> |