# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ diff -u olddoc/lighttpd.1 doc/lighttpd.1 --- olddoc/lighttpd.1 2004-06-24 10:26:54.888331272 +0200 +++ doc/lighttpd.1 2004-06-24 10:27:48.352203528 +0200 @@ -5,7 +5,7 @@ lighttpd -D -f .SH DESCRIPTION .SH FILES -/etc/lighttpd/lighttpd.conf +/etc/lighttpd.conf .SH CONFORMING TO HTTP/1.0 HTTP/1.0 diff -u olddoc/lighttpd.conf doc/lighttpd.conf --- olddoc/lighttpd.conf 2004-06-24 10:26:54.900329448 +0200 +++ doc/lighttpd.conf 2004-06-24 10:26:35.252316400 +0200 @@ -16,7 +16,7 @@ "mod_access", # "mod_auth", # "mod_status", -# "mod_fastcgi", + "mod_fastcgi", # "mod_simple_vhost", # "mod_evhost", # "mod_cgi", @@ -25,10 +25,10 @@ ## a static document-root, for virtual-hosting take look at the ## server.virtual-* options -server.document-root = "/www/pages/" +server.document-root = "/var/www/localhost/htdocs/" ## where to send error-messages to -server.errorlog = "/www/logs/lighttpd.error.log" +server.errorlog = "/var/log/lighttpd/error.log" # files to check for if .../ is requested server.indexfiles = ( "index.php", "index.html", @@ -52,7 +52,7 @@ ".conf" => "text/plain" ) #### accesslog module -accesslog.filename = "/www/logs/access.log" +accesslog.filename = "/var/log/lighttpd/access.log" ## deny access the file-extensions # @@ -81,9 +81,9 @@ ## virtual-server-root + virtual-server-default-host + virtual-server-docroot or ## virtual-server-root + http-host + virtual-server-docroot ## -#simple-vhost.server-root = "/home/weigon/wwwroot/servers/" +#simple-vhost.server-root = "/var/www/" #simple-vhost.default-host = "grisu.home.kneschke.de" -#simple-vhost.document-root = "/pages/" +#simple-vhost.document-root = "/htdocs/" ## @@ -103,7 +103,7 @@ #server.chroot = "/" ## change uid to (default: don't care) -#server.username = "wwwrun" +server.username = "lighttpd" ## change uid to (default: don't care) #server.groupname = "wwwrun" @@ -114,14 +114,14 @@ #### fastcgi module ## read fastcgi.txt for more info -#fastcgi.server = ( ".php" => -# ( "grisu" => -# ( -# "host" => "192.168.2.10", -# "port" => 1026 -# ) -# ) -# ) +fastcgi.server = ( ".php" => + ( "localhost" => + ( + "host" => "127.0.0.1", + "port" => 1026 + ) + ) + ) #### CGI module #cgi.assign = ( ".pl" => "/usr/bin/perl", Only in doc/: lighttpd.conf.orig