1
我想要添加一個url重寫到一個網站,當我嘗試訪問它的頁面加載時沒有圖像和css文件。 這裏是我的代碼:mod重寫後,所有圖像文件路徑不可見
< rewriter>
< rewrite url="~/item/(.+)/(.+)" to="~/item.aspx?imageId=$1&category=$2"/>
< /rewriter>
and
< location path="~/item.aspx">
< system.web>
< authorization>
< allow users="*" />
< /authorization>
< /system.web>
< /location>
,但現在看來,這是不承認的路徑。 有沒有人有什麼錯?
謝謝 阿麗娜
成了。但不起作用。 –