[hobbit] hobbit and lighttpd

Asif Iqbal vadud3 at gmail.com
Thu Aug 2 06:48:30 CEST 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070802/c16cd043/attachment.html>


More information about the Xymon mailing list