summaryrefslogtreecommitdiffstats
path: root/apm-web.httpd
blob: 68786147623dbb779c0f53b8208659fe15860fd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# APM (Alternative PHP Monitor)
#
# Allows only localhost by default
#

Alias /@ALIAS@ @SHARE@/@ALIAS@

<Directory @SHARE@/@ALIAS@/>
   AddDefaultCharset UTF-8

   <IfModule mod_authz_core.c>
     # Apache 2.4
     Require local
   </IfModule>
   <IfModule !mod_authz_core.c>
     # Apache 2.2
     Order Deny,Allow
     Deny from All
     Allow from 127.0.0.1
     Allow from ::1
   </IfModule>
</Directory>