RE: [users@httpd] Problem with Satisfy Directive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

> -----Original Message-----
> From: Praveen Alavilli [mailto:Praveen1992@xxxxxxx] 
> Sent: Wednesday, May 24, 2006 4:01 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re: [users@httpd] 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
> 
> Owen.Boyle@xxxxxxx wrote: 
> 
> 		-----Original Message-----
> 		From: Praveen Alavilli [mailto:Praveen1992@xxxxxxx] 
> 		Sent: Wednesday, May 24, 2006 3:13 PM
> 		To: users@xxxxxxxxxxxxxxxx
> 		Subject: [users@httpd] 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: users-unsubscribe@xxxxxxxxxxxxxxxx " 
> from the digest: 
> 		users-digest-unsubscribe@xxxxxxxxxxxxxxxx For 
> additional 
> 		commands, e-mail: users-help@xxxxxxxxxxxxxxxx 
> 		
> 		    
> 
> 	 
> 	 
> 	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: users-unsubscribe@xxxxxxxxxxxxxxxx
> 	   "   from the digest: 
> users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> 	For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 	  
> 
> 
> --------------------------------------------------------------
> ------- The official User-To-User support forum of the Apache 
> HTTP Server Project. See for more info. To unsubscribe, 
> e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: 
> users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional 
> commands, e-mail: users-help@xxxxxxxxxxxxxxxx 
> 

---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux