Windows マシンの web.config ファイルに次のルールがあります。を含むすべてのリクエストを受け取り、 にhttp://domain.com/shop/[stuff]
ルーティングし/category.php
ます。サイトを PHP サーバーに移動していますが、このルールを .htaccess ルールにする方法がわかりません。
存在する場合、web.config ルールはクエリ文字列を保持することに注意してください。
<rule name="Rule for shop pages.">
<match url="(.*/)?shop/*" />
<action type="Rewrite" url="/category.php" appendQueryString="true" />
</rule>