httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Brock <>
Subject [users@httpd] Problems making exceptions to Apache authentication
Date Thu, 25 Oct 2007 15:20:31 GMT

I'm applying some authentication across all of a site site using the  

<Location "/*">
          AuthName "NAME"
          AuthType Basic
          AuthUserFile /usr/local/www/.htpasswd
          AuthGroupFile /dev/null
          require user USER

However, there is one specific URL pattern that I need to make an  
exception for. This seems like it should be a simple thing but I  
can't find any ways of doing this within a Location directive. I  
can't use a Directory directive (for which there _would_ be ways of  
getting around this, e.g. using Satisfy combined with host access, or  
making exceptions with a Files directive) because dynamic content  
needs to be included, and our dynamic content is sent to JBoss over  
mod_jk and none of this dynamic content gets authenticated if I use a  
Directory directive, which makes the whole thing useless.

I've really been struggling with this for some time now and would  
very much appreciate any input.

Many thanks.


Matt Brock
Senior System Administrator

77 Oxford Street
London W1D 2ES

Phone: +44 (0)20 7659 2515
Fax:   +44 (0)20 7659 2233

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message