[Zope] ip redirect

Tom Scheidt tom@falsemirror.com
Tue, 19 Feb 2002 20:21:29 -0500


Hi,

I'm looking for a quick way to redirect users from certain IP addreses as in
the example below. Notice the wildcard (*). Thanks in advance for your help.

<dtml-if "REMOTE_ADDR == '255.255.2255.*'">
<dtml-var "RESPONSE.redirect('/redirect_html')">
</dtml-if>

Tom