summaryrefslogtreecommitdiffstats
path: root/php-pecl-apm.httpd
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-02-21 11:24:31 +0100
committerRemi Collet <fedora@famillecollet.com>2015-02-21 11:24:31 +0100
commit710153d18f8d7b8f47088175dc207d6317304365 (patch)
tree1f09cc47362a4bfa161be5b55200552537e9cc31 /php-pecl-apm.httpd
php-pecl-apm: 2.0.0 - New package
Diffstat (limited to 'php-pecl-apm.httpd')
-rw-r--r--php-pecl-apm.httpd22
1 files changed, 22 insertions, 0 deletions
diff --git a/php-pecl-apm.httpd b/php-pecl-apm.httpd
new file mode 100644
index 0000000..6878614
--- /dev/null
+++ b/php-pecl-apm.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>