server.modules = (
"mod_rewrite",
"mod_redirect",
"mod_alias",
"mod_access",
"mod_fastcgi",
"mod_cgi",
"mod_accesslog" )
server.document-root = "/var/www/htdocs/"
alias.url = ( "/cgi-bin/" => "/var/www//cgi-bin/" )
accesslog.filename = "/var/www/logs/access.log"
server.errorlog = "/var/www/logs/error.log"
server.use-ipv6 = "enable"
$SERVER["socket"] == "0.0.0.0:80" { }
url.access-deny = ( "~", ".inc" )
$HTTP["url"] =~ "\.pdf$" {
server.range-requests = "disable"
}
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
server.pid-file = "/var/run/lighttpd.pid"
# chroot() to directory
#server.chroot = "/var/www/"
server.user = "www"
server.groupname = "www"
cgi.assign = ( ".pl" => "")
i omit the lines that i did not touch so here is the basic for serving openwebmail but thereis nothing with php or fastcgi or any other
|
{|:{
|
No comments:
Post a Comment