summaryrefslogtreecommitdiff
path: root/mod_ip.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mod_ip.conf')
-rw-r--r--mod_ip.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/mod_ip.conf b/mod_ip.conf
new file mode 100644
index 0000000..c5db699
--- /dev/null
+++ b/mod_ip.conf
@@ -0,0 +1,9 @@
+# This goes in the virtual host apache config.
+
+<locationMatch ^/ip/?$>
+ SetHandler mod_ip
+ Header append Cache-Control no-cache
+ Header append Pragma no-cache
+ Header append Expires "Thu, 01 Jan 1971 00:00:00 GMT"
+</locationMatch>
+