[pkg-lighttpd] Problems with alias.url

Krzysztof Krzyzaniak eloy at kofeina.net
Mon Mar 6 16:15:30 UTC 2006


Torsten Marek wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> while I was working on lighttpd on the weekend, I ran into a problem: with the
> new handling of images/ and doc/, the /cgi-bin/ -> /usr/lib/cgi-bin/ alias does
> not seem to work from localhost.
> Maybe this is an upstream bug, but there is a fix:

So far is not bug but feature of config file.

> 1. define a bogus alias.url so that it is possible to append to it afterwards
> 2. put the alias for images and doc into global {} and append them to alias.url
> 3. append /cgi-bin/ => /usr/lib/cgi-bin/ to alias.url

4. Ask for possibility of defining empty configuration array.

I think so far 2 possibility is the best.

> Maybe there is an easier solution to this, which I am missing, but I did not get
> any other combination to work.
> 
> I've not yet checked in this workaround, since it's not very clean. What do you
> think?
> 
> Otherwise, I've added mod_cml and split out trigger_b4_dl into its own package,
> along with some changes and configuration updates.

Fine.

   eloy
-- 
-------e-l-o-y---------------------------e-l-o-y- at -k-o-f-e-i-n-a-.-n-e-t------

        jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej



More information about the pkg-lighttpd-maintainers mailing list