This forum has been moved here:
Helicon Tech Community Forum

ISAPI_Rewrite 3.0 (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: Redirecting OPTIONS method
Author
Message |
mordytk
Newbie


Joined: 19 February 2012
Posts: 1
Posted: 19 February 2012 at 2:42pm

Hi,

I have a rule like
Code:
RewriteCond %{REQUEST_METHOD} OPTIONS
RewriteRule .* - [F]


I would like to change it to something like.
Code:
RewriteCond %{REQUEST_METHOD} OPTIONS
RewriteRule .* 403.asp
and handle the blocking in code.
The issue is that when the page is redirected it is sent to IIS with the
original OPTIONS method, and IIS does not handle OPTIONS correctly.

Is it possible for me to convert the OPTIONS method to a GET method
before doing the internal redirect with isapi?

Thanks.
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version