aboutsummaryrefslogtreecommitdiffstats
path: root/webstats/readme.org
blob: d3908e9767a8b34abb0efc555586746e56677dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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