]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dev/templates/default/apache.phppgadmin.erb
Add a load more cookbooks to the public repository
[chef.git] / cookbooks / dev / templates / default / apache.phppgadmin.erb
diff --git a/cookbooks/dev/templates/default/apache.phppgadmin.erb b/cookbooks/dev/templates/default/apache.phppgadmin.erb
new file mode 100644 (file)
index 0000000..e2d8556
--- /dev/null
@@ -0,0 +1,20 @@
+# DO NOT EDIT - This file is being maintained by Chef
+
+<VirtualHost *:80>
+       ServerName phppgadmin.dev.openstreetmap.org
+       ServerAdmin webmaster@openstreetmap.org
+
+       CustomLog /var/log/apache2/phppgadmin.dev.openstreetmap.org-access.log combined
+       ErrorLog /var/log/apache2/phppgadmin.dev.openstreetmap.org-error.log
+
+       DocumentRoot /usr/share/phppgadmin
+
+       <IfModule mod_fastcgi_handler.c>
+               <FilesMatch "\.ph(p3?|tml)$">
+                       SetHandler fcgi:/var/run/php5-fpm-default.sock
+               </FilesMatch>
+               <FilesMatch "\.phps$">
+                       SetHandler fcgi:/var/run/php5-fpm-default.sock
+               </FilesMatch>
+       </IfModule>
+</VirtualHost>