hobbit and lighttpd
list Rodolfo Pilas
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
list Asif Iqbal
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 <user-d7a5704f8ad9@xymon.invalid> 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