summaryrefslogtreecommitdiffstats
path: root/xcache-coverager.conf
diff options
context:
space:
mode:
Diffstat (limited to 'xcache-coverager.conf')
-rw-r--r--xcache-coverager.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/xcache-coverager.conf b/xcache-coverager.conf
new file mode 100644
index 0000000..27c6c7b
--- /dev/null
+++ b/xcache-coverager.conf
@@ -0,0 +1,17 @@
+# Configure XCache PHP Code Coverage Viewer
+Alias /xcache-coverager /usr/share/xcache/coverager
+
+<Directory /usr/share/xcache/coverager>
+ <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>
+