summaryrefslogtreecommitdiffstats
path: root/xcache-httpd.conf
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-10-31 09:10:28 +0100
committerRemi Collet <fedora@famillecollet.com>2012-10-31 09:10:28 +0100
commit08e0fe2bb7fe872dc78699b0388f505c182bf310 (patch)
treea845e660a9def6d55217c875a0f2205e35030f5e /xcache-httpd.conf
parentaa3fee9a1d144c7d9a9ddc72bdb1a91be0fab03b (diff)
php-xcache version 3.0.0 (fedora review spec)
Diffstat (limited to 'xcache-httpd.conf')
-rw-r--r--xcache-httpd.conf17
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>
+