Magellan Linux

Contents of /trunk/phpmyadmin/phpmyadmin.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3376 - (show annotations) (download)
Wed Jul 31 09:41:07 2019 UTC (4 years, 9 months ago) by niro
File size: 1320 byte(s)
-added missing TempDir declaration
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
8 Alias /phpmyadmin /usr/share/phpmyadmin
9
10 <Directory /usr/share/phpmyadmin/>
11 AddDefaultCharset UTF-8
12
13 <IfModule mod_authz_core.c>
14 <RequireAny>
15 Require ip 127.0.0.1
16 Require ip ::1
17 </RequireAny>
18 </IfModule>
19 </Directory>
20
21 <Directory /usr/share/phpmyadmin/setup/>
22 <IfModule mod_authz_core.c>
23 <RequireAny>
24 Require ip 127.0.0.1
25 Require ip ::1
26 </RequireAny>
27 </IfModule>
28 </Directory>
29
30 # This directory does not require access over HTTP - taken from the original
31 # phpMyAdmin upstream tarball
32 #
33 <Directory /usr/share/phpmyadmin/libraries/>
34 Order Deny,Allow
35 Deny from All
36 Allow from None
37 </Directory>
38
39 <Directory /usr/share/phpmyadmin/setup/lib/>
40 Order Deny,Allow
41 Deny from All
42 Allow from None
43 </Directory>
44
45 <Directory /usr/share/phpmyadmin/setup/frames/>
46 Order Deny,Allow
47 Deny from All
48 Allow from None
49 </Directory>
50
51 # This configuration prevents mod_security at phpmyadmin directories from
52 # filtering SQL etc. This may break your mod_security implementation.
53 #
54 #<IfModule mod_security.c>
55 # <Directory /usr/share/phpmyadmin/>
56 # SecRuleInheritance Off
57 # </Directory>
58 #</IfModule>