From a3fdbb4fbc157688b4a48f7656e017fe87834c72 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Wed, 15 Jan 2014 01:34:55 +0200 Subject: [PATCH] PostgreSQL configuration --- install/debian/apache2-pga.conf | 31 +++++++ install/debian/pga.conf | 159 ++++++++++++++++++++++++++++++++ install/rhel/httpd-pga.conf | 14 +++ install/rhel/pga.conf | 159 ++++++++++++++++++++++++++++++++ install/ubuntu/apache2-pga.conf | 31 +++++++ install/ubuntu/pga.conf | 159 ++++++++++++++++++++++++++++++++ 6 files changed, 553 insertions(+) create mode 100644 install/debian/apache2-pga.conf create mode 100644 install/debian/pga.conf create mode 100644 install/rhel/httpd-pga.conf create mode 100644 install/rhel/pga.conf create mode 100644 install/ubuntu/apache2-pga.conf create mode 100644 install/ubuntu/pga.conf diff --git a/install/debian/apache2-pga.conf b/install/debian/apache2-pga.conf new file mode 100644 index 000000000..f39247d6f --- /dev/null +++ b/install/debian/apache2-pga.conf @@ -0,0 +1,31 @@ +Alias /phppgadmin /usr/share/phppgadmin + + + +DirectoryIndex index.php +AllowOverride None + +order deny,allow +deny from all +allow from 127.0.0.0/255.0.0.0 ::1/128 +allow from all + + + php_flag magic_quotes_gpc Off + php_flag track_vars On + php_value include_path . + + + + + AddType application/x-httpd-php .php + Action application/x-httpd-php /cgi-bin/php + + + AddType application/x-httpd-php .php + Action application/x-httpd-php /cgi-bin/php + + + + + diff --git a/install/debian/pga.conf b/install/debian/pga.conf new file mode 100644 index 000000000..1eec9776c --- /dev/null +++ b/install/debian/pga.conf @@ -0,0 +1,159 @@ + diff --git a/install/rhel/httpd-pga.conf b/install/rhel/httpd-pga.conf new file mode 100644 index 000000000..4f6ea1b53 --- /dev/null +++ b/install/rhel/httpd-pga.conf @@ -0,0 +1,14 @@ +# +# This configuration file maps the phpPgAdmin directory into the URL space. +# By default this application is only accessible from the local host. +# + +Alias /phpPgAdmin /usr/share/phpPgAdmin +Alias /phppgadmin /usr/share/phpPgAdmin + + + Order deny,allow + Deny from all + Allow from 127.0.0.1 + Allow from all + diff --git a/install/rhel/pga.conf b/install/rhel/pga.conf new file mode 100644 index 000000000..1eec9776c --- /dev/null +++ b/install/rhel/pga.conf @@ -0,0 +1,159 @@ + diff --git a/install/ubuntu/apache2-pga.conf b/install/ubuntu/apache2-pga.conf new file mode 100644 index 000000000..f39247d6f --- /dev/null +++ b/install/ubuntu/apache2-pga.conf @@ -0,0 +1,31 @@ +Alias /phppgadmin /usr/share/phppgadmin + + + +DirectoryIndex index.php +AllowOverride None + +order deny,allow +deny from all +allow from 127.0.0.0/255.0.0.0 ::1/128 +allow from all + + + php_flag magic_quotes_gpc Off + php_flag track_vars On + php_value include_path . + + + + + AddType application/x-httpd-php .php + Action application/x-httpd-php /cgi-bin/php + + + AddType application/x-httpd-php .php + Action application/x-httpd-php /cgi-bin/php + + + + + diff --git a/install/ubuntu/pga.conf b/install/ubuntu/pga.conf new file mode 100644 index 000000000..1eec9776c --- /dev/null +++ b/install/ubuntu/pga.conf @@ -0,0 +1,159 @@ +