0
如何將此IIS URL重寫規則轉換爲.htaccess Apache?如何將此IIS URL重寫規則轉換爲.htaccess Apache?
<rule name="View Trades/Wants">
<match url="^([^]+)/PD([^]+)/" />
<action type="Rewrite" url="trade.php?type={R:1}&id={R:2}" />
</rule>
謝謝,什麼是[L]是什麼意思? –
@EthanAllen這意味着停止重寫當前的迭代:http://httpd.apache.org/docs/2.2/rewrite/flags.html#flag_l –