summaryrefslogtreecommitdiff
path: root/etc/httpd.conf.template
blob: 1512106d373e65a2da68c71e7154cf58309c71c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# The following line may already be present in httpd.conf; don't duplicate it.
AddDefaultCharset UTF-8

Listen 8080

<VirtualHost *:8080>
    DocumentRoot "BASEPATH/html"
    RewriteEngine On
	# Need mod_cgid installed and configured to handle .fpl files.
	DefaultInitEnv PGCOMMITFEST_ROOT BASEPATH
    RewriteRule ^/$ BASEPATH/bin/server.fpl
    RewriteRule ^/action/ BASEPATH/bin/server.fpl
</VirtualHost>

<Directory "BASEPATH">
    Order allow,deny
    Allow from all
    Options Indexes FollowSymLinks ExecCGI
    AllowOverride None
</Directory>

# In addition to the above settings, you will need to set User and Group to
# your user ID - that is, the user that owns the pgcommitfest directory tree.