init

Lighttpd restrict or deny access by IP address

by Vivek Gite on December 12, 2006 · 13 comments

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 [...]

{ 13 comments }