blob: 8f5e53dc9dfba0a4081b935a95e590cf756ddbb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# An example Apache virtualhost configuration file.
#
# See our installation help at http://fixmystreet.org/
<VirtualHost *:80>
ServerName fixmystreet.yourservername
DocumentRoot /home/yourname/fixmystreet/web/
# Pull in the 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
AllowOverride None
</Directory>
<Location /admin>
#
# WARNING - enable auth here on production machine
#
</Location>
Alias /admin/ /home/yourname/fixmystreet/web-admin/
Alias /jslib/ /home/yourname/fixmystreet/commonlib/jslib/
<Location /jslib>
AddOutputFilter DEFLATE js
Header append Cache-Control "no-transform"
</Location>
</VirtualHost>
|