ambrosa
February 14th, 2009, 06:06 AM
I've searched a solution but I've found none.
I've setup a little pesonal webserver using LAMP Ubuntu Hardy Server.
Apache works fine but it still resolve hostname in /var/log/apache2/access.log
I don't want this: I want simple IP address logged in access.log
In /etc/apache2/apache2.conf I've set HostnameLookups Off
The same thing in /etc/apache/sites-available/default
I've checked that all ALLOW/DENY options in every modules and site configuration use IP numbers and not literal hostname.
Any idea ?
I've setup a little pesonal webserver using LAMP Ubuntu Hardy Server.
Apache works fine but it still resolve hostname in /var/log/apache2/access.log
I don't want this: I want simple IP address logged in access.log
In /etc/apache2/apache2.conf I've set HostnameLookups Off
The same thing in /etc/apache/sites-available/default
I've checked that all ALLOW/DENY options in every modules and site configuration use IP numbers and not literal hostname.
Any idea ?