All pastes #432928 Raw Edit

NoFX_SBC

public text v1 · immutable
·published 2007-04-10 14:41 UTC
rendered paste body
$SERVER["socket"] == "66.118.176.10:443" {
        protocol = "https://"
        ssl.engine = "enable"
        ssl.pemfile = "/wt/http-server/lighttpd/etc/ssl/ads.webtraffic.com.br.pem"
        ssl.ca-file = "/wt/http-server/lighttpd/etc/ssl/ads.webtraffic.com.br.crt"
        server.name = "ads.webtraffic.com.br"
        server.document-root = "/wt/sites/ads.webtraffic.com.br/html"
        server.errorlog = "/dev/null"
        accesslog.filename = "/wt/sites/ads.webtraffic.com.br/logs/access.log"
}

else  $HTTP["host"] =~ "wtads01.webtraffic.com.br" {
              $HTTP["url"] =~ "^/awstats/" {
cgi.assign = (
".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/perl"
)
server.document-root = "/wt/scripts/awstats/wwwroot"
#alias.url = ( "/awstatsclasses" => "/wt/scripts/awstats/wwwroot/classes/","/awstatscss" => "/wt/scripts/awstats/wwwroot/css/","/awstatsicons" => "/wt/scripts/awstats/wwwroot/icon/" )
         }
}

else  $HTTP["host"] =~ "(.*)" {
        url.redirect = ( "^/(.*)" => "https://%1/$1" )
}

simple-vhost.server-root   = "/wt/sites/"
simple-vhost.default-host  = "wtads01.webtraffic.com.br"
simple-vhost.document-root = "html"