apachenoob Posted July 3, 2007 Share Posted July 3, 2007 Hi, I'm trying to test the HostnameLookups feature in Apache 1.3. So far the httpd.conf has been edited from the default of "off" to "double", configtest was run (no errors) and apache was restarted with the "apachectl graceful" command. The User Agent Switcher has been installed for Firefox and the UA has been set to Googlebot/2.1 (+http://www.googlebot.com/bot.html). When I browse my site using Firefox shouldn't I be shown an error/forbidden page? Everything I've read says I shouldn't be able the view the site using the UA Googlebot/2.1 with HostnameLookups set to double. Can anyone point me in the right direction on this one. Thanks Quote Link to comment Share on other sites More sharing options...
steviewdr Posted July 5, 2007 Share Posted July 5, 2007 Hostnamelookups are only for reverse dns issues IMO and NOT the User Agent string. See http://httpd.apache.org/docs/2.0/mod/mod_access.html for denying access based on User-Agent. -steve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.