Hi,
I’m rewriting url addresses like this to this , but when the page is displayed css styles aren’t applied, and errors appears in browser’s bottom bar. So, a very ugly page.. (I attach below the code I used for rewrite the url)
Is this a problem of Internet Information Server configuration? Or something related to rewriting usage? I’m using urlrewritingnet component (
Thank you
I’m rewriting url addresses like this to this , but when the page is displayed css styles aren’t applied, and errors appears in browser’s bottom bar. So, a very ugly page.. (I attach below the code I used for rewrite the url)
Is this a problem of Internet Information Server configuration? Or something related to rewriting usage? I’m using urlrewritingnet component (
Thank you
Code:
<urlrewritingnet
rewriteOnlyVirtualUrls="true"
contextItemsPrefix="QueryString"
defaultPage = "default.aspx"
defaultProvider="RegEx"
xmlns="[URL unfurl="true"]http://www.urlrewriting.net/schemas/config/2006/07"[/URL] >
<rewrites>
<add name="user_web"
virtualUrl="^~/(.+)/web"
rewriteUrlParameter="ExcludeFromClientQueryString"
destinationUrl="~/user_page.aspx"
ignoreCase="true" />
</rewrites>
</urlrewritingnet>