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