0

IIRF Isapi フィルターの INI ファイルでこのルールを見つけました (サーバー上の URL を書き換えるため)。「S=45」は行をジャンプするだけであることがわかりましたが、「-」の意味は何ですか?

RewriteRule ^.*$ - [S=45]
4

1 に答える 1

0

The [S=x] modifier tells mod_rewrite to skip the next x rules for the matching urls. Since the instruction is to skip the rules, the - is just a placeholder, the url is not really rewritten.

By the way, IIRF does not support the [S] modifier, this line may comes from an incorrectly adapted mod_rewrite configuration.

于 2012-03-30T15:22:15.963 に答える