blob: 97a34fe66f3246c5b9dd549ee3ac79c295515d9a (
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://code.fixmystreet.com/
<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>
|