[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] hobbit and lighttpd
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] hobbit and lighttpd
- From: "Asif Iqbal" <vadud3 (at) gmail.com>
- Date: Thu, 2 Aug 2007 00:48:30 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=YBaGrcr8S0LuvAhZgZC+3osRTYk+0nApgLOrXIe4X0GKRCvGQtttbANj7KrEz2HZo2W26XiKgoYXuQxsiamZOG0gqBBhzkllNPQAYMRB6QrQ4ndxNh3a1yGV8buhmI7tZ0phQOPmedqrW5hJZtbWsQ1S0uvAEEamqoKN/u/t4MQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=jIYxodmBlpklq/Dvvs6TmFHt1QIpkUKRnxEnQ9K29Ee0VizB3ywA9jCT0DQgSAjv8NO1taG9cI4R9kD53xeG8oiY3Y/isuPmKMuIWiJjGN68QnrzjxZERHWGRSsjBi+CFHAXAp+k5H+haZMHVxAGbhUii2HCHIo8rajjHBy9+AA=
- References: <4691BEC8.7000502 (at) pilas.net>
I like to replace our apache on hobbit with lighttpd. Anyone has any
suggestion to more than what is here to optimize it?
On 7/9/07, Rodolfo Pilas <rodolfo (at) pilas.net> wrote:
>
> I have lighttpd serving hobbit web pages. I am not a expert lighttpd
> user but this is the configuration that works to me, perhaps anybody can
> improve it and developers can distribute the configuration file (like
> hobbit-apache.conf)
>
>
> ################################
> ## hobbit configuration based on
> ## http://www.lighttpd.net/documentation/cgi.html
>
> server.modules += ( "mod_cgi",
> "mod_auth"
> )
>
> alias.url += (
> "/hobbit/" => "/var/lib/hobbit/www/",
> "/hobbit-cgi/" => "/usr/lib/hobbit/cgi-bin/",
> "/hobbit-seccgi/" => "/usr/lib/hobbit/cgi-secure/"
> )
>
> $HTTP["url"] =~ "^/hobbit-cgi/|^/hobbit-seccgi/" {
> dir-listing.activate = "disable"
> cgi.assign = ( "" => "" )
> }
>
> auth.backend = "htpasswd"
> auth.backend.htpasswd.userfile = "/etc/hobbit/hobbitpasswd"
>
> auth.require = ( "/hobbit-seccgi/" => (
> "method" => "basic",
> "realm" => "Hobbit Administration",
> "require" => "user=admin"
> )
> )
>
>
> ---
> Regards,
> Rodolfo Pilas
>
>
>
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu