We've tried Location-Directives before, but without any success ... ... Following your advice I tried it again and found this one: <Location ~ "/my_jboss_app_context.*"> Order Deny,Allow Deny from all Allow from 10.1.13.25 </Location> This Location-Directive based on a regular expression works! Could you explain to me why this Location-Directive does NOT work: <Location /my_jboss_app_context"> Order Deny,Allow Deny from all Allow from 10.1.13.25 </Location> Anyway, many thanks ... -----Ursprüngliche Nachricht----- Von: Tom Evans [mailto:tevans.uk@xxxxxxxxxxxxxx] Gesendet: Freitag, 20. Februar 2009 15:07 An: users@xxxxxxxxxxxxxxxx Betreff: Re: AW: block ip address for certain (server) context On Fri, 2009-02-20 at 14:21 +0100, Reis Markus wrote: > We already tried something like: > > <Directory /my_jboss_app_context> > Order Deny,Allow > Deny from 10.1.13.25 > </Directory> > > But this also didn't work - We got the impression that this directive only works with "real" directories and NOT with "contexts" (i.e. a path defined in uriworkermap.properties for mod_jk which corresponds to a jboss web application context). Is that correct? > > Any further ideas? > > > Kind regards, > Markus > <Directory> is for physical on disk directories, and the path referenced is a file system path <Location> is for URI locations, and the path referenced is the URI. <Directory /my_jboss_app_context> will only match files that are loaded from the physical on disk directory /my_jboss_app_context/ Also, :set tw=78, because your emails are hideously formatted.. --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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