httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Boyce-Lewis <>
Subject [users@httpd] Apache config directives based on requestor ip address?
Date Fri, 10 Dec 2004 17:14:19 GMT
I am looking for a way to apply alternative configuration directives to
apache based on the source ip address. Basically, I was to do something
like this:

<VirtualHost *>
		DocumentRoot /var/web/root/a
	<RequesterMatch !>
		DocumentRoot /var/web/root/b

Obviously the RequesterMatch directive does not exist. Has anyone solved
this problem in the past? I can think of a number of somewhat ugly ways
to solve this problem using iptables, but an elegant solution would be

Any ideas and/or experience with such problems?


Andrew E. Boyce-Lewis
Conduit Internet Technologies, Inc.
800.493.5045 x 210
814.867.8248 Fax

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