[pkg-lighttpd] Bug#386568: lighttpd: Commenting doc and images aliases solve the problem
Pierre Habouzit
madcoder at debian.org
Sat Jul 28 22:36:03 UTC 2007
On Mon, Nov 13, 2006 at 01:53:39AM +0100, Sylvain Le Gall wrote:
> Hello,
>
> When trying to enable cgi in lighttp, i need to comment the following
> lines in lighttpd.conf :
>
> $HTTP["remoteip"] =~ "127.0.0.1" {
> alias.url += (
> "/doc/" => "/usr/share/doc/",
> "/images/" => "/usr/share/images/"
> )
> $HTTP["url"] =~ "^/doc/|^/images/" {
> dir-listing.activate = "enable"
> }
> }
>
>
> If i don't comment it, all cgi-bin request, ended with a 404 error !
On Fri, Sep 08, 2006 at 04:04:22PM +0200, Alexander Schmehl wrote:
> Using something like:
> =====
> $HTTP["host"] == "localhost" {
> alias.url += ( "/debian" => "/srv/pub/debian" )
> }
> alias.url = ( "/debian" => "/srv/pub/debian" )
> =====
>
> Works as expected.
Could you try to revert [1] on your /etc/lighttpd.conf and tell me if
that fixes the issue for both of you ?
Cheers,
[1] http://svn.debian.org/wsvn/pkg-lighttpd/lighttpd/trunk/debian/lighttpd.conf?op=diff&rev=140&sc=1
--
·O· Pierre Habouzit
··O madcoder at debian.org
OOO http://www.madism.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lighttpd-maintainers/attachments/20070729/64d1037c/attachment-0001.pgp
More information about the pkg-lighttpd-maintainers
mailing list