Forum Moderators: phranque

Message Too Old, No Replies

When I add 'deny from x.x.x.x' it.

resolves to hostnames

         

KlondikeBar

5:35 pm on Dec 30, 2005 (gmt 0)

10+ Year Member



Hi I'm having some trouble with .htaccess and deny from statements.

Whenever I add like

deny from 123.45.678.910

To an htaccess file, my apache logs for that folder show hostnames... rather than IP addresses. This makes the whole server slower, and I do not know what is going on...

thanks for your time.

jdMorgan

5:44 pm on Dec 30, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



KlondikeBar,

Welcome to WebmasterWorld!

You should contact your host and ask them to change the HostNameLookups [httpd.apache.org] setting to "off."

Jim

KlondikeBar

6:15 pm on Dec 30, 2005 (gmt 0)

10+ Year Member



Hi, thanks.

I checked my apache config file, HostLookups is Off. But, when I add that deny from statement into any htaccess file it logs hostnames rather than IP addresses in the log.

I mean like, instead of seeing myself 67.81.68.99, it turns into ool-43514463.dyn.optonline.net and yes, HostLookups thing is shut off which is whats weird.