summaryrefslogtreecommitdiffstats
path: root/apm-web.httpd
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-03-16 10:41:39 +0100
committerRemi Collet <fedora@famillecollet.com>2015-03-16 10:41:39 +0100
commit06ec18af20744d4cb9e898d8cea7640de1e205f4 (patch)
tree8eb86359a831de73aebfdd2eafaa7a593dfe7613 /apm-web.httpd
apm-web: New package, split off php-pecl-apmHEADmaster
Diffstat (limited to 'apm-web.httpd')
-rw-r--r--apm-web.httpd22
1 files changed, 22 insertions, 0 deletions
diff --git a/apm-web.httpd b/apm-web.httpd
new file mode 100644
index 0000000..6878614
--- /dev/null
+++ b/apm-web.httpd
@@ -0,0 +1,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>