]> git.openstreetmap.org Git - chef.git/blob - cookbooks/dev/templates/default/apache.phppgadmin.erb
Fixup phppgadmin for proxy_fcgi
[chef.git] / cookbooks / dev / templates / default / apache.phppgadmin.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <VirtualHost *:80>
4         ServerName phppgadmin.dev.openstreetmap.org
5         ServerAdmin webmaster@openstreetmap.org
6
7         CustomLog /var/log/apache2/phppgadmin.dev.openstreetmap.org-access.log combined
8         ErrorLog /var/log/apache2/phppgadmin.dev.openstreetmap.org-error.log
9
10         DocumentRoot /usr/share/phppgadmin
11
12         ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:7000/usr/share/phppgadmin
13         ProxyPassMatch ^/(.*\.phpx(/.*)?)$ fcgi://127.0.0.1:7000/usr/share/phppgadmin
14         ProxyPassMatch ^/(.*\.phpj(/.*)?)$ fcgi://127.0.0.1:7000/usr/share/phppgadmin
15 </VirtualHost>