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:[email protected]]
Gesendet: Freitag, 20. Februar 2009 12:53
An: [email protected]
Betreff: Re: [us...@httpd] block ip address for certain (server) context
On Thu, Feb 19, 2009 at 10:20 AM, Reis Markus <[email protected]> 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
[email protected]
---------------------------------------------------------------------
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: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
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: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]