I have a vps with hypervm/kloxo. I'm running with lighttpd. Today i want to create a Protected Directory to, how to create that like apache ? Do i need to put something like .htaccess and .htpasswd in directory ? Please help me step-by-step. I have read redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAuth#Module-mod_auth-Using-Authentication but i don't understand, which file to be editted ? I'm new in lighttpd, please help me. And the important point is, i want google bots and yahoo bots will bypass auth. , is it possible to do it?
I mean like that ( in apache )
### UNDER CONSTRUCTION PROTECTION
#AuthName "Under Development"
#Deny from all
#Allow from 22.214.171.124 w3.org googlebot.com google.com google-analytics.com