LightTPD 1.4.x compiles and installs fine in Slackware, but there is no init script that works properly with it. I was able to overcome this problem by installing the LightTPD 1.4.7 Slackware package, extract the rc.lighttpd script from it and then reinstall the version that I compiled from source. This worked well. I’ve uploaded my rc.lighttpd script for people to use. Just unzip it with gzip -d rc.lighttpd.gz and move it to /etc/rc.d/. You should run LightTPD under its own user. I named the user www, but if you used a different user name (like lighttpd or something), change the www on line 10 to the proper user name. Also, if your modules directory or the location of your configuration file is different from the default, please edit those variables on lines 5 and 6. Enjoy!
Download the script:
http://joeyjwc.x3fusion.com/ext/rc.lighttpd.gz


