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