wok diff awstats/stuff/awstats-lighttpd.conf @ rev 21802

linld/iso2exe: remove non slitaz dos boot (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 18:59:42 2019 +0200 (2019-08-10)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/awstats/stuff/awstats-lighttpd.conf	Sat Aug 10 18:59:42 2019 +0200
     1.3 @@ -0,0 +1,19 @@
     1.4 +# Config file for running  AWStats with Lighttpd
     1.5 +
     1.6 +index-file.names = ( "awstats.pl" )
     1.7 +
     1.8 +alias.url = (
     1.9 +                "/classes" => "/usr/share/awstats/classes/",
    1.10 +                "/css" => "/usr/share/awstats/css/",
    1.11 +                "/stats" => "/var/www/cgi-bin/",
    1.12 +                "/icon" => "/usr/share/awstats/icon/"
    1.13 +              )
    1.14 +			  
    1.15 +# provide awstats cgi-bin access
    1.16 +$HTTP["url"] =~ "/stats" {
    1.17 +      cgi.assign = ( ".pl" => "/usr/bin/perl" )
    1.18 +}
    1.19 +
    1.20 +#url.rewrite-once = ( "^/awstats.pl(.*)" => "/stats/awstats.pl$1" )
    1.21 +
    1.22 +