Forum Moderators: phranque
I can see WebmasterWorld are doing this using some type of cookie based authentication but does anyone know if they are doing anything special with apache?
Thanks in advance
Matt, UK
If you are using Apache mod_auth with mod_access, then see the "Satisfy" directive in Apache core. You can set "Satisfy any" and then "Allow from" search engine IP addresses or hostnames, or alternately set an envar using mod_setenvif based on the user-agent name (e.g. Googlebot), and "Allow from" that envar.
If you're using a script for doing auth, then you'll need to add the IP/hostname/useragent sensing to that script.
Jim