lighty's life

lighty developer blog

Lighttpd 1.4.1

Just a few minutes ago lighttpd 1.4.1 has been released, shortly after lighttpd 1.4.0 which had some user-visible problems.

1.4.1 fixes those bugs, stabilizes the SSL support on OpenBSD and finishes the WebDAV support in mod_webdav to Class 1 (all options except LOCK/UNLOCK).

The WebDAV support is interesting for everyone using modern webdevelopment tools or something like webdav-fs.

You can savely (via SSL and secured by Authentication) edit, move and copy files in there source form while they user is able to see the generate content in the browser.

The other big feature (I think far more important) is the support for nested conditionals in the configuration. Now you can write configurations like:

$HTTP["host"] == "" {
  $HTTP["url"] =~ "^/dav($|/)" {
    webdav.activate = "enable"
  $HTTP["remoteip"] != "" {
    auth.require = ( "" => ( "method" => "basic",
                             "realm" => "webdav",
                             "require" => "valid-user" ) )

… to enable webdav support in the /dav/ directory of and allows all users from the local network to access the host without authentication.

Over the next days we will write some tutorials which will illustrate the new features in the configuration more briefly (like the different include optoins, variable substitution and the like).

If you want to cheat, take a look into the manual.