phpMyAdmin.conf 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # phpMyAdmin - Web based MySQL browser written in php
  2. #
  3. # Allows only localhost by default
  4. #
  5. # But allowing phpMyAdmin to anyone other than localhost should be considered
  6. # dangerous unless properly secured by SSL
  7. Alias /phpMyAdmin /usr/share/phpMyAdmin
  8. Alias /phpmyadmin /usr/share/phpMyAdmin
  9. <Directory /usr/share/phpMyAdmin/>
  10. Order Deny,Allow
  11. Deny from All
  12. Allow from All
  13. </Directory>
  14. <Directory /usr/share/phpMyAdmin/scripts/>
  15. Order Deny,Allow
  16. Deny from All
  17. Allow from All
  18. </Directory>
  19. # This directory does not require access over HTTP - taken from the original
  20. # phpMyAdmin upstream tarball
  21. #
  22. <Directory /usr/share/phpMyAdmin/libraries/>
  23. Order Deny,Allow
  24. Deny from All
  25. Allow from None
  26. </Directory>
  27. # This configuration prevents mod_security at phpMyAdmin directories from
  28. # filtering SQL etc. This may break your mod_security implementation.
  29. #
  30. #<IfModule mod_security.c>
  31. # <Directory /usr/share/phpMyAdmin/>
  32. # SecRuleInheritance Off
  33. # </Directory>
  34. #</IfModule>
  35. <Directory /usr/share/phpMyAdmin/setup>
  36. Order Deny,Allow
  37. Deny from All
  38. Allow from None
  39. </Directory>