[pkg-lighttpd] Bug#445459: lighttpd: mod_alias fails on localhost

Olaf van der Spek olafvdspek at gmail.com
Wed Oct 24 17:30:02 UTC 2007


On 10/24/07, Steve Greenland <steveg at moregruel.net> wrote:
> Okay, while trying to make the minimal lighttpd.conf that exhibits the

Could you post that minimal conf?

> problem, I found that aliases work if 10-mod_cgi.conf is not enabled.
> (I'd guess that this makes this bug related to #345554.) In particular,
> if I comment out the remoteip section in 10-cgi.conf like this:
>
> #$HTTP["remoteip"] == "127.0.0.1" {
> #   alias.url += ( "/cgi-bin/" => "/usr/lib/cgi-bin/" )
> #   $HTTP["url"] =~ "^/cgi-bin/" {
> #       cgi.assign = ( "" => "" )
> #   }
> #}
>
> ...aliases work again. I'm not sure why that section is there, the
> /cgi-bin/ -> /usr/lib/cgi-bin/ mapping should work no matter what the
> remote IP.





More information about the pkg-lighttpd-maintainers mailing list