I'm focusing on a beta site that's presently password protected. I wish to test out Yahoo BOSS like a search solution, however i aren't able to find a similar of Google's Website owner Tools that enables me to go in the username/password to login.

I figured about modifying my Apache config to want password protection Unless of course the visit appears like it's originating from Yahoo's spiders, however it does not appear to become working.

Here's my normal pw protection config...

AuthUserFile htpasswd
AuthName Login
AuthType Basic
require valid-user

I am wanting there is a method to wrap this within an IF statement to ensure that it might simply be performed when the remote host isn't crawl.yahoo.internet.

Any advice in the Apache gods?

You are able to stack the "Require" statement with "Allow from" by way of the "Satisfy" directive. Here is a demo:

Satisfy Any

AuthUserFile /etc/apache2/htpasswd
AuthGroupFile /etc/apache2/htgroups
AuthType Basic
AuthName "Protected Area"
Require group protected

BrowserMatchNoCase webkit IS_WEBKIT
Allow from env=IS_WEBKIT

http://httpd.apache.org/docs/2.0/mod/mod_access.html