You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ben Laurie <be...@gonzo.ben.algroup.co.uk> on 1997/01/07 18:45:59 UTC

Re: BrowserMatch access denial

Rob Hartill wrote:
> 
> 
> I've played with Ben's API-enhanced User-Agent access control patch
> it it works well. I intend using it whether it makes 1.2 or not.
> 
> Anyway, is there a cleaner way to write this:
> 
> BrowserMatch ".*" site_block
> BrowserMatch "[A-Z]|[a-z]|[0-9]" !site_block
> 
> in order to block access to anonymous agents.

I have no idea whether this will work, though if the above does, I suspect it
will:

BrowserMatch "^$" site_block

Cheers,

Ben.

-- 
Ben Laurie                Phone: +44 (181) 994 6435  Email: ben@algroup.co.uk
Freelance Consultant and  Fax:   +44 (181) 994 6472
Technical Director        URL: http://www.algroup.co.uk/Apache-SSL
A.L. Digital Ltd,         Apache Group member (http://www.apache.org)
London, England.          Apache-SSL author