Comment 1 for bug 396055

Revision history for this message
Darren Warner (launchpad-dazwin) wrote :

Same problem here, however the suggested problem wouldn't work for me (or other projects that use path aliases - which is most projects that currently configure apache).

The following does work, but you'd probably need a combination of this and the above solution to cover all situations:

$HTTP["remoteip"] =~ "127.0.0.1" {
        alias.url += (
                "^doc/" => "/usr/share/doc/",
                "^images/" => "/usr/share/images/"
        )
        $HTTP["url"] =~ "^/doc/|^/images/" {
                dir-listing.activate = "enable"
        }
}