Remote Host IIS 6

ISAPI_Rewrite is a powerful URL manipulation engine based on regular expressions
User avatar
Posts: 2
Joined: 13 Feb 2013, 12:08

Remote Host IIS 6

13 Feb 2013, 12:11

We do reverse DNS lookups on IIS 6. I'd really like to use isapi rewrite 2 to take advantage of what is found in the remote host. However, isapi still sees the IP address at that point. Is there a way to evaluate the looked-up host name from isapi?

Here's the example rule to block all remote_host containing comcast (not our real goal):

RewriteCond %REMOTE_HOST .*(?:comcast).*
RewriteRule .? - [F,I,L]

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Remote Host IIS 6

14 Feb 2013, 08:22

Hello,

Sorry, but our products can't do the look-ups you need.

User avatar
Posts: 2
Joined: 13 Feb 2013, 12:08

Re: Remote Host IIS 6

14 Feb 2013, 11:50

Understood. IIS is doing the lookups. I assume isapi cannot use that information though given the timing, right?

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Remote Host IIS 6

14 Feb 2013, 12:32

Yes, that's right.

Return to ISAPI_Rewrite 2.x

Who is online

Users browsing this forum: No registered users and 5 guests