Annotation of /tags/phpmyadmin-2_10_3-r1/phpmyadmin/phpmyadmin.conf
Parent Directory | Revision Log
Revision 255 -
(hide annotations)
(download)
Sun Jul 8 14:41:36 2007 UTC (17 years, 2 months ago) by (unknown author)
File size: 793 byte(s)
Sun Jul 8 14:41:36 2007 UTC (17 years, 2 months ago) by (unknown author)
File size: 793 byte(s)
This commit was manufactured by cvs2svn to create tag 'phpmyadmin-2_10_3-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> |