クエリ文字列をカスタムURLリライトモジュールに渡す方法がわからないという問題があります。私は、完全なURL(パス+クエリ文字列)を受信し、いくつかのクエリ文字列値を書き換えるカスタムURL書き換えモジュールを開発しました。IIS URLリダイレクト受信ルールがクエリ文字列を処理する
受信ルールでクエリ文字列をカスタムモジュールに渡すにはどうすればよいですか?
ルールの評価スタート
RuleName
ReverseProxyInboundRule1
RequestURL
OpenDocument/opendoc/openDocument.jsp
QueryString
sIDType=CUID&iDocID=AbuyCUsQ8L5CskKTqgOSsyw&encoded=9001306c-317f-4332-b03f-44cca57918c2
PatternSyntax
0
StopProcessing
true
RelativePath
/APP.Web/
PatternSyntax
Regex
パターンマッチ
Pattern
BOE/(.*)
Input
BOE/OpenDocument/opendoc/openDocument.jsp
Negate
false
Matched
true
あなたは上記/下記参照すれば、私のカスタムモジュールは、クエリ文字列を受け取るだけのパスAPP.Web/BOE/OpenDocument/opendoc/openDocument.jsp
Url C私は自分自身を答えを見つけた
OldUrl
/APP.Web/BOE/OpenDocument/opendoc/openDocument.jsp?encoded=9001306c-317f-4332-b03f-44cca57918c2
NewUrl
https://server/BOE/OpenDocument/opendoc/openDocument.jsp