apache - Lighttpd How do i disable directly access my website by ip and name server? -


recently found website can access ip , name server. server using lighttpd , closed apache service.so don't know how disable access direct ip , name server on lighttpd.

i have closed of apache service such httpd, mod_userdir tweak , etc. i've tried editing code in mod_userdir.conf file still not work.

here how deny access requests not http://valid-hostname.example.com/... $http["host"] != "valid-hostname.example.com" { url.access-deny = ("") } https://redmine.lighttpd.net/projects/lighttpd/wiki/docs_modaccess


Comments

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -