/[smecontribs]/rpms/phpMyAdmin47/contribs10/phpMyAdmin.htaccess
ViewVC logotype

Contents of /rpms/phpMyAdmin47/contribs10/phpMyAdmin.htaccess

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Oct 19 08:08:23 2020 UTC (3 years, 6 months ago) by brianr
Branch: MAIN
CVS Tags: HEAD
Initial import

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 Alias /phpmyadmin /usr/share/phpMyAdmin
10
11 <Directory /usr/share/phpMyAdmin/>
12 AddDefaultCharset UTF-8
13
14 <IfModule mod_authz_core.c>
15 # Apache 2.4
16 <RequireAny>
17 Require ip 127.0.0.1
18 Require ip ::1
19 </RequireAny>
20 </IfModule>
21 <IfModule !mod_authz_core.c>
22 # Apache 2.2
23 Order Deny,Allow
24 Deny from All
25 Allow from 127.0.0.1
26 Allow from ::1
27 </IfModule>
28 </Directory>
29
30 <Directory /usr/share/phpMyAdmin/setup/>
31 <IfModule mod_authz_core.c>
32 # Apache 2.4
33 <RequireAny>
34 Require ip 127.0.0.1
35 Require ip ::1
36 </RequireAny>
37 </IfModule>
38 <IfModule !mod_authz_core.c>
39 # Apache 2.2
40 Order Deny,Allow
41 Deny from All
42 Allow from 127.0.0.1
43 Allow from ::1
44 </IfModule>
45 </Directory>
46
47 # These directories do not require access over HTTP - taken from the original
48 # phpMyAdmin upstream tarball
49 #
50 <Directory /usr/share/phpMyAdmin/libraries/>
51 Order Deny,Allow
52 Deny from All
53 Allow from None
54 </Directory>
55
56 <Directory /usr/share/phpMyAdmin/setup/lib/>
57 Order Deny,Allow
58 Deny from All
59 Allow from None
60 </Directory>
61
62 <Directory /usr/share/phpMyAdmin/setup/frames/>
63 Order Deny,Allow
64 Deny from All
65 Allow from None
66 </Directory>
67
68 # This configuration prevents mod_security at phpMyAdmin directories from
69 # filtering SQL etc. This may break your mod_security implementation.
70 #
71 #<IfModule mod_security.c>
72 # <Directory /usr/share/phpMyAdmin/>
73 # SecRuleInheritance Off
74 # </Directory>
75 #</IfModule>

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed