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