httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] block ip address for certain (server) context
Date Fri, 20 Feb 2009 11:53:11 GMT
On Thu, Feb 19, 2009 at 10:20 AM, Reis Markus <Markus.Reis@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
covener@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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message