I have a Linksys WGRT54GLv1.1 and I'm running Kamikaze 7.09.
I've done the SD card hardware mod and installed lighttpd to it.
I've mounted the card at /mmc and all of lighttpd's binaries have been installed in their appropriate subdirectories (usr, lib, www, etc.) under /mmc.
I'm now finding that lighttpd won't work unless I create the following soft links:

ln -s /mmc/usr/lib/lighttpd/mod_indexfile.so /usr/lib/lighttpd/mod_indexfile.so
ln -s /mmc/usr/lib/lighttpd/mod_dirlisting.so /usr/lib/lighttpd/mod_dirlisting.so
ln -s /mmc/usr/lib/lighttpd/mod_staticfile.so /usr/lib/lighttpd/mod_staticfile.so

However, I eventually want to chroot 'jail' lighttpd so I need it to run directly from the /mmc/usr/lib/lighttpd files and not rely on these soft links.
My knowledge of linux is not as good as I'd like and I was hoping someone can tell me how I can get lighttpd to look for the /mmc/usr/lib/ files rather than look for the /usr/lib/ files.
Any advice you can give is appreciated.

(Last edited by Shagbag on 5 Apr 2008, 14:11)