phppgadmin.conf 848 B

12345678910111213141516171819202122232425262728293031323334353637
  1. Alias /%pga_alias% /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 mpm_event_module>
  15. # Use www.conf instead
  16. <FilesMatch \.php$>
  17. SetHandler "proxy:unix:/run/php/www.sock|fcgi://localhost"
  18. </FilesMatch>
  19. </IfModule>
  20. <IfModule !mod_php5.c>
  21. <IfModule mod_actions.c>
  22. <IfModule mod_cgi.c>
  23. AddType application/x-httpd-php .php
  24. Action application/x-httpd-php /cgi-bin/php
  25. </IfModule>
  26. <IfModule mod_cgid.c>
  27. AddType application/x-httpd-php .php
  28. Action application/x-httpd-php /cgi-bin/php
  29. </IfModule>
  30. </IfModule>
  31. </IfModule>
  32. </Directory>