trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Rea <>
Subject R: Allow only one host access to sub-url
Date Tue, 23 Oct 2012 19:22:22 GMT
Try this:
map @src_ip= @action=deny @src_ip= @action=allow
@src_ip= @action=deny

Luca Rea

Reparto IT
System engineer

ContactLab s.r.l.
Via Natale Battaglia 12
20127 Milano
Tel. +39.02.283118.1
Fax. +39.02.70030269

E-mail & E-marketing Evolution

----- Messaggio originale -----
Da: Jan-Frode Myklebust []
Inviato: Tuesday, October 23, 2012 09:05 PM
A: <>
Oggetto: Allow only one host access to sub-url

I need to allow the whole world access to but
only one host (src_ip) access to
What's the map rules needed to implement this?

Shouldn't something like this be the way to do it?

     map @action=allow @src_ip=
@action=deny @src_ip=

Unfortunately I don't seem to be able to get this to work? BTW what
are the order @action and @src_ip should be listed in?


View raw message