Tags » Lighttpd

lighttpd - allow/block ip range

To allow some or multiple ip rages use below code:

$HTTP["remoteip"] =~ "192\.168\.1\.*|10\.2\.20\.*" {
    server.document-root = "/var/www"

Above code will allow only 192.18.1.* and 10.2.20.* ip rages and blocks all other ip’s. 28 more words


Viglen MPC-L Debian web server install

The first task after installing Debian on my Viglen MPC-L was to get a web server up and running. As the MPC is a low powered device I looked at a number of “light” web servers and the two most commonly mentioned were… 115 more words