rendered paste body$HTTP["host"] =~ "^(agingright\.com)$" {url.redirect = ( ".*" => "http://www.%1" )}
$HTTP["host"] == "www.agingright.com" {
var.hostname = "www.sfomedia.com"
server.document-root = basedir+hostname+"/public_html/"
accesslog.filename = basedir+hostname+"/logs/access_log"
# server.errorlog = basedir+hostname+"/logs/error_log"
# debug.log-request-header = "enable"
# debug.log-response-header = "enable"
debug.log-request-handling = "enable"
# debug.log-file-not-found = "enable"
fastcgi.debug = 1
## virtual directory listings
dir-listing.activate = "enable"
alias.url += (
"/cgi-bin" => basedir+hostname + "/cgi-bin",
)
fastcgi.server = ( ".cgi" =>
( "localhost" =>
(
"socket" => "/tmp/agingright-fcgi.socket",
"bin-path" => basedir+hostname+"/cgi-bin/dispatch.fcgi",
"bin-environment" => (
"PERL5LIB" => basedir+hostname+"/cgi-bin/mt/lib",
"MT_HOME" => basedir+hostname+"/cgi-bin/mt",
"MT_CONFIG" => basedir+hostname+"/cgi-bin/mt/mt-config.cgi"
)
)
)
)
}