Magellan Linux

Annotation of /trunk/phpmyadmin/phpmyadmin.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 250 - (hide annotations) (download)
Sun Jul 8 13:32:34 2007 UTC (16 years, 10 months ago) by niro
File size: 793 byte(s)
-files for phpmyadmin-2.10.2-r1

1 niro 250 # 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    
8     Alias /phpmyadmin /usr/share/phpmyadmin
9     <Directory /usr/share/phpmyadmin/>
10     order deny,allow
11     deny from all
12     allow from 127.0.0.1
13     </Directory>
14    
15     # This directory does not require access over HTTP - taken from the original
16     # phpMyAdmin upstream tarball
17     #
18     <Directory /usr/share/phpmyadmin/libraries>
19     Order Deny,Allow
20     Deny from All
21     Allow from None
22     </Directory>
23    
24     # This configuration prevents mod_security at phpmyadmin directories from
25     # filtering SQL etc.
26     #
27     <IfModule mod_security.c>
28     <LocationMatch "/phpmyadmin/(.+)">
29     SecFilterInheritance Off
30     </LocationMatch>
31     </IfModule>