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

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -