Skip to main content

Apache logs & reverse IP address lookup

Comments

2 comments

  • sehh
    To answer my own problem: Apparently when the .htaccess contains a rule that performs a reverse DNS lookup, it forces the Apache logs to store the hostname instead of the IP address. Even if "HostnameLookups" is set to "Off" in the configuration. Bug or feature? who knows...
    0
  • cPanelMichael
    Bug or feature? who knows...

    Hello, This is normal behavior with the default Apache configuration. You would have to disable AllowOverride for this VirtualHost to prevent the user from making that change in their .htaccess file. Thank you.
    0

Please sign in to leave a comment.