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 @@ +