# Config file for running  AWStats with Lighttpd

index-file.names = ( "awstats.pl" )

alias.url = (
                "/classes" => "/usr/share/awstats/classes/",
                "/css" => "/usr/share/awstats/css/",
                "/stats" => "/var/www/cgi-bin/",
                "/icon" => "/usr/share/awstats/icon/"
              )
			  
# provide awstats cgi-bin access
$HTTP["url"] =~ "/stats" {
      cgi.assign = ( ".pl" => "/usr/bin/perl" )
}

#url.rewrite-once = ( "^/awstats.pl(.*)" => "/stats/awstats.pl$1" )


