From 83b454b15645f81ae54825a1b91a866a8e2a9ffe Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Wed, 4 Jan 2006 23:40:58 +0000 Subject: better example in sample config for lighttpd The lighttpd port installs a sample config file into /usr/local/etc/lighttpd.conf.sample this file should probably include the line: server.event-handler = "freebsd-kqueue" lighttpd is a high performance web server, and it should use kqueue when running on FreeBSD. PR: ports/90354 Submitted by: Mike Approved by: maintainer timeout --- www/lighttpd/Makefile | 1 + www/lighttpd/files/lighttpd.conf.sample | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'www/lighttpd') diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile index f7512fd5a26d..1dadc58b4126 100644 --- a/www/lighttpd/Makefile +++ b/www/lighttpd/Makefile @@ -7,6 +7,7 @@ PORTNAME= lighttpd PORTVERSION= 1.4.8 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.lighttpd.net/download/ \ http://dl.fkb.wormulon.net/lighttpd/ \ diff --git a/www/lighttpd/files/lighttpd.conf.sample b/www/lighttpd/files/lighttpd.conf.sample index 8feb27d31190..4a9ad1bde0f8 100644 --- a/www/lighttpd/files/lighttpd.conf.sample +++ b/www/lighttpd/files/lighttpd.conf.sample @@ -44,6 +44,10 @@ server.errorlog = "/var/log/lighttpd.error.log" server.indexfiles = ( "index.php", "index.html", "index.htm", "default.htm" ) +# set the event-handler (read the performance section in the manual) +server.event-handler = "freebsd-kqueue" # needed on OS X + + # mimetype mapping mimetype.assign = ( ".pdf" => "application/pdf", @@ -264,4 +268,3 @@ server.groupname = "www" #### setenv #setenv.add-request-header = ( "TRAV_ENV" => "mysql://user@host/db" ) #setenv.add-response-header = ( "X-Secret-Message" => "42" ) - -- cgit v1.2.3