--- lighttpd-1.4.3/doc/lighttpd.conf.orig 2005-06-11 12:56:20 +0400 +++ lighttpd-1.4.3/doc/lighttpd.conf 2005-09-11 14:49:04 +0400 @@ -27,8 +27,8 @@ server.modules = ( # "mod_evhost", # "mod_userdir", # "mod_cgi", -# "mod_compress", -# "mod_ssi", + "mod_compress", + "mod_ssi", # "mod_usertrack", # "mod_expire", # "mod_secdownload", @@ -37,13 +37,13 @@ server.modules = ( ## a static document-root, for virtual-hosting take look at the ## server.virtual-* options -server.document-root = "/www/pages/" +server.document-root = "/var/www/html/" ## 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 -index-file.names = ( "index.php", "index.html", +index-file.names = ( "index.php", "index.shtml", "index.html", "index.htm", "default.htm" ) ## set the event-handler (read the performance section in the manual) @@ -110,10 +110,10 @@ mimetype.assign = ( ## send a different Server: header ## be nice and keep it at lighttpd -# server.tag = "lighttpd" +server.tag = "lighttpd (ALTLinux)" #### accesslog module -accesslog.filename = "/www/logs/access.log" +accesslog.filename = "/var/log/lighttpd/access.log" ## deny access the file-extensions # @@ -145,7 +145,7 @@ static-file.exclude-extensions = ( ".php #server.error-handler-404 = "/error-handler.php" ## to help the rc.scripts -#server.pid-file = "/var/run/lighttpd.pid" +server.pid-file = "/var/run/lighttpd.pid" ###### virtual hosts @@ -183,14 +183,14 @@ static-file.exclude-extensions = ( ".php #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" +server.groupname = "lighttpd" #### compress module -#compress.cache-dir = "/tmp/lighttpd/cache/compress/" -#compress.filetype = ("text/plain", "text/html") +compress.cache-dir = "/var/spool/lighttpd/tmp/" +compress.filetype = ("text/plain", "text/html") #### proxy module ## read proxy.txt for more info @@ -274,7 +274,7 @@ static-file.exclude-extensions = ( ".php #expire.url = ( "/buggy/" => "access 2 hours", "/asdhas/" => "access plus 1 seconds 2 minutes") #### ssi -#ssi.extension = ( ".shtml" ) +ssi.extension = ( ".shtml" ) #### rrdtool #rrdtool.binary = "/usr/bin/rrdtool"