task block

So how do you restrict or deny access by IP address using Lighttpd web server? Lighttpd has mod_access module. The access module is used to deny access to files with given trailing path names. You need to combine this with remoteip conditional configuration. Syntax is as follows: $HTTP[“remoteip”] == “IP” : Match on the remote […]