Apache Security
How to disable hostname lookup?
I STILL HAVE TO COMPLETE THIS.
If no ServerName is specified, then the server attempts to deduce the hostname by performing a reverse lookup on the IP address. Remember that millions of requests had a host name that would need to be looked up. After consulting the documentation, I setup a virtual host that would quickly return a 404 error for the request and display a special message at the root directory. Here’s what it looks like:
<VirtualHost _default_:80>
ServerName default
DocumentRoot "/Web/Sites/default"
<Directory "/Web/Sites/default">
Options None
AllowOverride None
DAV Off
</Directory>
LogLevel warn
</VirtualHost>
page revision: 0, last edited: 17 Jul 2015 22:09