Forum Moderators: phranque
the cheating methodWell, I discovered it by accident once when I'd modified a couple of Deny lines (I'm in 2.2 on shared hosting) and ended up with something like
Finally, if you have hostname-based Require directives, a hostname lookup will be performed regardless of the setting of HostnameLookups.I think that's the part that comes into play in the Doing It By Accident version: if it isn't a valid IP address, the server assumes it's meant to be a hostname. And once you're looking up one name, you have to look up all of them.
But I'm not clear where and how to use this. Do I put it in apache2.conf?
Or in /sites-available/mysite.conf in one of the directives?
Or in a cron job?
phranque? Can you find where in the Apache docs it says where the logresolve directive goes?