lighttpd

lighttpd

lighttpd is a lightweight web server used mainly to serve static files. Youtube used lighttpd before it was purchased by

lighttpd mod alias

lighttpd mod alias

mod_alias lighttpd module allow you to map urls to file system. For example, you need /mrtg show /var/www/mrtg You need

bind lighttpd to one ip address

bind lighttpd to one ip address

I want to bind lighttpd on IP address 76.76.18.20, so i can use other IP’s for Apache, Apache have “Listen”

Auto restart lighttpd on crash

Auto restart lighttpd on crash

To restart lighttpd if it went down or crashed, create a file check_lighttpd.sh With the following content Make it executable