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                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org

Attachment: pgpJSJ2ZXquwk.pgp
Description: PGP signature

Reply via email to