I now have dwww working with thttpd.

The problem you described appears to be because of the symlink-checking
which checks that symlinks don't go outside the document tree (by
default based in /var/www)

If you say 

nosymlinks 

in the configuration file that checking is disabled and symlinks can
point anywhere.

Assuming of course you are also saying

nochroot

Otherwise of course /usr/lib/cgi-bin is outside the chroot

So if you ln -s /usr/lib/cgi-bin /var/www/cgi-bin

dwww will just work.

Another option is to bind mount /usr/lib/cgi-bin to /var/www/cgi-bin,
which preserves the ability to run chrooted.

Regards,

Daniel

-- 
And that's my crabbing done for the day.  Got it out of the way early, 
now I have the rest of the afternoon to sniff fragrant tea-roses or 
strangle cute bunnies or something.   -- Michael Devore
GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C      http://gnupg.org
The C Shore: http://www.wightman.ca/~cshore

Attachment: signature.asc
Description: PGP signature

Reply via email to