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


-----Ursprüngliche Nachricht-----
Von: Eric Covener [mailto:cove...@gmail.com] 
Gesendet: Freitag, 20. Februar 2009 12:53
An: users@httpd.apache.org
Betreff: Re: [us...@httpd] block ip address for certain (server) context

On Thu, Feb 19, 2009 at 10:20 AM, Reis Markus <markus.r...@abv.at> wrote:
> Hi,
>
> We want to block certain ip addresses from accessing a certain 
> (server) context - e.g. ip address 10.1.13.25 shouldn't be able to 
> access (server) context (not a directory) 'myapplication'.

> [*NOTE*] Server: Apache/2.2.9 (Unix) mod_jk/1.2.26 mod_ssl/2.2.9 
> OpenSSL/0.9.8d [*NOTE*] The above configuration represents the last 
> statements in httpd.conf - the mod_jk module is loaded before

Rewrite rules aren't inherited by virtual hosts.

You should use allow/deny for this.

--
Eric Covener
cove...@gmail.com

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org




---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to