私のweb.configにリダイレクトのルールを書きたいと思います。web.configのIIS URLリダイレクトルール
私のようなURLをリダイレクトしたい...
http://www.example.net/profile/username
に...
http://www.example.net/#/profile/username
私は、以下の実行を追加しましたが、機能していないようです。これを行う最善の方法は何ですか?
<rule name="Redirect to hashed profile" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTP_HOST}{REQUEST_URI}" pattern="on" ignoreCase="true" pattern="^.net/profile/*"/>
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/#/{REQUEST_URI}" redirectType="Permanent" appendQueryString="true" />
</rule>