Hi all,
for testing purpose i would need ti allow access to a server only if the
client confroms to 2 tests. I RTFMed, but can't find a solution.
let's say i want to allow my client only if it comes from a specific IP
and with a specific browser.
I've tried this (and many variants) without
On 11/2/05, gregory duchesnes [EMAIL PROTECTED] wrote:
SetEnvIf Remote_Addr ^192\.168\.0\.2$ welcome
BrowserMatch !^Mozilla !welcome
You can't negate a regex in that way.
Try this instead:
SetEnvIf Remote_Addr ^192\.168\.0\.2$ welcome
SetEnvIf User-Agent ^Mozilla badbrowser=1
SetEnvIf
thanks for your help but this is the exact opposite of what i wan't to do.
Here you accept anyone from 192.168.0.2 except Mozilla.
I wan't to allow only Mozilla from this IP, and the problem is quite
different, since i need to deny everyone except mozilla...
Joshua Slive a écrit :
On
On 11/2/05, gregory duchesnes [EMAIL PROTECTED] wrote:
thanks for your help but this is the exact opposite of what i wan't to do.
Here you accept anyone from 192.168.0.2 except Mozilla.
I wan't to allow only Mozilla from this IP, and the problem is quite
different, since i need to deny
that's exactly it, thanks a lot Joshua
Joshua Slive a écrit :
On 11/2/05, gregory duchesnes [EMAIL PROTECTED] wrote:
thanks for your help but this is the exact opposite of what i wan't to do.
Here you accept anyone from 192.168.0.2 except Mozilla.
I wan't to allow only Mozilla from this