hobbit and lighttpd
Rodolfo Pilas
rodolfo at pilas.net
Mon Jul 9 06:51:20 CEST 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070709/2741d58f/attachment.sig>
More information about the Xymon
mailing list