Hello guys,
I'm using urlrewriting to rewrite my url. Let me introduce my problem by bellow example:
Here is old url: http://localhost/test/pages.aspx?pageid=1
I have 2 cases to rewrite:
- http://localhost/test/url-rewriting-get-start.aspx
- http://localhost/test/url-rewriting/get-start.aspx
The first case is ok, but I would like to use the second case. In this case I must use root path for image, css and object tag (for flash):
- With image, I modified to:
<image src="~/images/icon.jpg" runat="server"/>
- With css, I modified in head tag:
<head runat="server">
But with the object tag, I don't know how to set root for the data, movie parameter:
<object data="anim/head.swf?xmlPath=./menu_flash.html" type="application/x-shockwave-flash" width="962" height="228"> <param name="movie" value="anim/head.swf" /> <param name="quality" value="high" />
Anyone have solution for this, please help me. Thanks in advance.
Regards,
Tien