Today, I've released a new major version of the Hiawatha webserver. The biggest change in v10.0 is a different way of handling Directory sections. The path is now relative to the document root of a website.
VirtualHost { Hostname = www.example.com ... UseDirectory = static, files } Directory { DirectoryID = static Path = /css, /fonts, /images, /js ExpirePeriod = 2 weeks } Directory { DirectoryID = files Path = /files ShowIndex = yes }
Another new feature is the support for GZip content encoding, which makes the UseGZfile obsolete. The rest of the new features can be found in the ChangeLog.
Smooth and so far painless upgrade on a Debian machine.
I tried looking for any options to control the gzip compression, but I couldn't find it in the manual. Are there any such options available?
Is it possibly to emulate the old UseGZfile option somehow? I'd guess using a rewrite could be an option, but wouldn't there be a performance penalty compared to the old option?
Thanks.
Cheers. :-)