phppgadmin.conf 684 B

12345678910111213141516171819202122232425262728293031
  1. Alias /phppgadmin /usr/share/phppgadmin
  2. <Directory /usr/share/phppgadmin>
  3. DirectoryIndex index.php
  4. AllowOverride None
  5. order deny,allow
  6. deny from all
  7. allow from 127.0.0.0/255.0.0.0 ::1/128
  8. allow from all
  9. <IfModule mod_php5.c>
  10. php_flag magic_quotes_gpc Off
  11. php_flag track_vars On
  12. php_value include_path .
  13. </IfModule>
  14. <IfModule !mod_php5.c>
  15. <IfModule mod_actions.c>
  16. <IfModule mod_cgi.c>
  17. AddType application/x-httpd-php .php
  18. Action application/x-httpd-php /cgi-bin/php
  19. </IfModule>
  20. <IfModule mod_cgid.c>
  21. AddType application/x-httpd-php .php
  22. Action application/x-httpd-php /cgi-bin/php
  23. </IfModule>
  24. </IfModule>
  25. </IfModule>
  26. </Directory>