[Bug 396055] Re: Lighttpd web application development disturbance through aliasing on 127.0.0.1

Darren Warner launchpad at dazwin.com
Sun Nov 29 21:33:42 UTC 2009


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"
        }
}

-- 
Lighttpd web application development disturbance through aliasing on 127.0.0.1
https://bugs.launchpad.net/bugs/396055
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list