aboutsummaryrefslogtreecommitdiffstats
path: root/webstats/readme.org
diff options
context:
space:
mode:
Diffstat (limited to 'webstats/readme.org')
-rw-r--r--webstats/readme.org20
1 files changed, 20 insertions, 0 deletions
diff --git a/webstats/readme.org b/webstats/readme.org
new file mode 100644
index 0000000..d3908e9
--- /dev/null
+++ b/webstats/readme.org
@@ -0,0 +1,20 @@
+#+title: Track website visit statistics
+
+* Setup lighttpd
+On the config file append the proxy to the running lisp server
+#+begin_src conf
+server.modules += ( "mod_proxy" )
+
+$HTTP["url"] =~ "^/stats/" {
+ proxy.server = ("" =>
+ ( "hunchentoot" =>
+ ( "host" => "127.0.0.1",
+ "port" => 4252 )
+ )
+ )
+ proxy.header = (
+ "map-urlpath" => ( "/stats" => "" )
+ )
+
+}
+#+end_src