1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- # phpmyadmin - Web based MySQL browser written in php
- #
- # Allows only localhost by default
- #
- # But allowing phpmyadmin to anyone other than localhost should be considered
- # dangerous unless properly secured by SSL
- Alias /phpmyadmin /usr/share/phpmyadmin
- <Directory /usr/share/phpmyadmin/>
- Order Deny,Allow
- Deny from All
- Allow from 127.0.0.1
- Allow from ::1
- </Directory>
- <Directory /usr/share/phpmyadmin/setup/>
- Order Deny,Allow
- Deny from All
- Allow from 127.0.0.1
- Allow from ::1
- </Directory>
- # These directories do not require access over HTTP - taken from the original
- # phpmyadmin upstream tarball
- #
- <Directory /usr/share/phpmyadmin/libraries/>
- Order Deny,Allow
- Deny from All
- Allow from None
- </Directory>
- <Directory /usr/share/phpmyadmin/setup/lib/>
- Order Deny,Allow
- Deny from All
- Allow from None
- </Directory>
- # This configuration prevents mod_security at phpmyadmin directories from
- # filtering SQL etc. This may break your mod_security implementation.
- #
- #<IfModule mod_security.c>
- # <Directory /usr/share/phpmyadmin/>
- # SecRuleInheritance Off
- # </Directory>
- #</IfModule>
|