1 |
jpp |
1.1 |
# |
2 |
|
|
# This configuration file maps the phpPgAdmin directory into the URL space. |
3 |
|
|
# By default this application is only accessible from the local host. |
4 |
|
|
# |
5 |
|
|
|
6 |
|
|
Alias /phpPgAdmin /usr/share/phpPgAdmin |
7 |
|
|
|
8 |
|
|
<Location /phpPgAdmin> |
9 |
|
|
<IfModule mod_authz_core.c> |
10 |
|
|
# Apache 2.4 |
11 |
|
|
Require local |
12 |
|
|
#Require host example.com |
13 |
|
|
</IfModule> |
14 |
|
|
<IfModule !mod_authz_core.c> |
15 |
|
|
# Apache 2.2 |
16 |
|
|
Order deny,allow |
17 |
|
|
Deny from all |
18 |
|
|
Allow from 127.0.0.1 |
19 |
|
|
Allow from ::1 |
20 |
|
|
# Allow from .example.com |
21 |
|
|
</IfModule> |
22 |
|
|
</Location> |
23 |
|
|
|