Author: rmeggins
Update of /cvs/dirsec/adminserver/admserv/cfgstuff
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31586
Modified Files:
console.conf.in
Log Message:
Resolves: bug 166230
Description: Admin Server management window misparses access log
Fix Description: add HostnameLookups off to the default console.conf template with a
comment about what it does
Index: console.conf.in
===================================================================
RCS file: /cvs/dirsec/adminserver/admserv/cfgstuff/console.conf.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- console.conf.in 29 Jan 2009 21:33:11 -0000 1.4
+++ console.conf.in 26 Feb 2009 23:45:59 -0000 1.5
@@ -46,6 +46,16 @@
</IfModule>
#
+# By default, the log files will only log the client IP address,
+# not the hostname, to avoid having to do a DNS lookup
+# for each request. If HostnameLookups is off, you will also see
+# notices in the error log saying that
+# admserv_host_ip_check: ap_get_remote_host could not resolve the IP address
+# If you want to have hostnames in the log instead of IP addresses, change
+# this to "on". Use a value of "double" to make it do double reverse
DNS lookups.
+HostnameLookups off
+
+#
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you *do*