rev |
line source |
erjo@2649
|
1 # Config file for running AWStats with Lighttpd
|
erjo@2649
|
2
|
erjo@2649
|
3 index-file.names = ( "awstats.pl" )
|
erjo@2649
|
4
|
erjo@2649
|
5 alias.url = (
|
erjo@2649
|
6 "/classes" => "/usr/share/awstats/classes/",
|
erjo@2649
|
7 "/css" => "/usr/share/awstats/css/",
|
erjo@2649
|
8 "/stats" => "/var/www/cgi-bin/",
|
erjo@2649
|
9 "/icon" => "/usr/share/awstats/icon/"
|
erjo@2649
|
10 )
|
erjo@2649
|
11
|
erjo@2649
|
12 # provide awstats cgi-bin access
|
erjo@2649
|
13 $HTTP["url"] =~ "/stats" {
|
erjo@2649
|
14 cgi.assign = ( ".pl" => "/usr/bin/perl" )
|
erjo@2649
|
15 }
|
erjo@2649
|
16
|
erjo@2649
|
17 #url.rewrite-once = ( "^/awstats.pl(.*)" => "/stats/awstats.pl$1" )
|
erjo@2649
|
18
|
erjo@2649
|
19
|