[EMAIL PROTECTED] SOLVED: Allow from - requiring both a http header and an IP range

2005-07-21 Thread Dieter Vrancken
On Wednesday, July 20, 2005, at 05:30PM, Joshua Slive <[EMAIL PROTECTED]> wrote: > >This can, in fact, be done using mod_setenvif using something like >SetEnvIf Remote_Addr .* goodadd=0 >SetEnvIf Remote_Addr ^xxx\.yyy\.zzz goodadd=1 >SetEnvIf X-Magic magic_value letmein >SetEnv goodadd 0 !letmein >

[EMAIL PROTECTED] Allow from - requiring both a http header and an IP range

2005-07-20 Thread Dieter Vrancken
Hi all, This issue seems very simple at first, but I can't figure out how to make it work. I'm using Apache 1.3.33 on Debian sarge. I want to allow access to a directory based on the following conditions: - user comes from IP range A or - user comes from IP range B or - user comes from IP range C