> -----Original Message-----
> From: Praveen Alavilli [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 24, 2006 4:01 PM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] Problem with Satisfy Directive
> 
> Sorry for not being clear - it doesn't enforce either 
> 'Require valid-user" or "Allow from env=is_robot" rule even 
> though I added "Satisfy Any" - it's  basically allowing 
> access to the url in /content/* for everyone.

So was basic auth ever working?

Remove all the clever stuff and try to get basic auth working in the
Location, ie:

                <Location /content/*>
                    AuthUserFile /home/conf/htpasswords
                    AuthName "Restricted Access"
                    AuthType Basic
                    Require valid-user
                </Location>

when you get that working, put all the clever stuff back in, a piece at
a time....

BTW, I'm not sure <Location /content/*> is valid syntax (never use
Location). Try <Location /content> instead..

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> thx
> Praveen
> 
> [EMAIL PROTECTED] wrote: 
> 
>               -----Original Message-----
>               From: Praveen Alavilli [mailto:[EMAIL PROTECTED] 
>               Sent: Wednesday, May 24, 2006 3:13 PM
>               To: users@httpd.apache.org
>               Subject: [EMAIL PROTECTED] Problem with Satisfy Directive
>               
>               I am trying to let bots crawl my site with out 
> requiring to 
>               authentication but it doesn't work for some reason. 
>                   
> 
>       
>       Never say "doesn't work"...
>       
>       what exactly happens:
>       
>       - does it allow access when you don't want it to?
>       - does it not allow access when you want it to?
>       
>       Rgds,
>       Owen Boyle
>       Disclaimer: Any disclaimer attached to this message may 
> be ignored. 
>       
>         
> 
>               It 
>               doesn't even enforce the Basic auth if the 
> user-agent doesn't 
>               match "Googlebot" even though I have Satisfy Any !!
>               
>               BrowserMatchNoCase Robot is_robot
>               <Location /content/*>
>                   AuthUserFile /home/conf/htpasswords
>                   AuthName "Restricted Access"
>                   AuthType Basic
>                   Require valid-user
>                   Allow from env=is_robot
>                   Satisfy Any
>               </Location>
>               
>               
>               thanks for any help
>               Praveen
>               
>               
> --------------------------------------------------------------
>               ------- The official User-To-User support forum 
> of the Apache 
>               HTTP Server Project. See for more info. To unsubscribe, 
>               e-mail: [EMAIL PROTECTED] " 
> from the digest: 
>               [EMAIL PROTECTED] For 
> additional 
>               commands, e-mail: [EMAIL PROTECTED] 
>               
>                   
> 
>        
>        
>       This message is for the named person's use only. It may 
> contain confidential, proprietary or legally privileged 
> information. No confidentiality or privilege is waived or 
> lost by any mistransmission. If you receive this message in 
> error, please notify the sender urgently and then immediately 
> delete the message and any copies of it from your system. 
> Please also immediately destroy any hardcopies of the 
> message. You must not, directly or indirectly, use, disclose, 
> distribute, print, or copy any part of this message if you 
> are not the intended recipient. The sender's company reserves 
> the right to monitor all e-mail communications through their 
> networks. Any views expressed in this message are those of 
> the individual sender, except where the message states 
> otherwise and the sender is authorised to state them to be 
> the views of the sender's company.
>       
>       
> ---------------------------------------------------------------------
>       The official User-To-User support forum of the Apache 
> HTTP Server Project.
>       See <URL:http://httpd.apache.org/userslist.html> 
> <http://httpd.apache.org/userslist.html>  for more info.
>       To unsubscribe, e-mail: [EMAIL PROTECTED]
>          "   from the digest: 
> [EMAIL PROTECTED]
>       For additional commands, e-mail: [EMAIL PROTECTED]
>         
> 
> 
> --------------------------------------------------------------
> ------- The official User-To-User support forum of the Apache 
> HTTP Server Project. See for more info. To unsubscribe, 
> e-mail: [EMAIL PROTECTED] " from the digest: 
> [EMAIL PROTECTED] For additional 
> commands, e-mail: [EMAIL PROTECTED] 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to