M
MatsL
Hi,
I'm using Context.RewritePath() in a HttpModule to get url rewriting done.
http://localhost/Web1/articles ->
http://localhost/Web1/Default.aspx?m=articles
But I'm having problems with Themes when I'm using that.
The problem rises when my url ends with a '/'.
Example:
http://localhost/Web1/articles
works fine
but
http://localhost/Web1/articles/
doesn't.
My path's to my theme resources are messed up, being appended to the
url, like this:
http://localhost/Web1/articles/App_Themes/AnnorlundaArbetsliv/Articles.css
Has anyone else had this problem (and hopefully fixed it
Btw, I rewrite the path back to the original one in Page.OnPreInit() to
get my postbacks go to the rewritten url...
Best regards,
Mats Lycken
I'm using Context.RewritePath() in a HttpModule to get url rewriting done.
http://localhost/Web1/articles ->
http://localhost/Web1/Default.aspx?m=articles
But I'm having problems with Themes when I'm using that.
The problem rises when my url ends with a '/'.
Example:
http://localhost/Web1/articles
works fine
but
http://localhost/Web1/articles/
doesn't.
My path's to my theme resources are messed up, being appended to the
url, like this:
http://localhost/Web1/articles/App_Themes/AnnorlundaArbetsliv/Articles.css
Has anyone else had this problem (and hopefully fixed it

Btw, I rewrite the path back to the original one in Page.OnPreInit() to
get my postbacks go to the rewritten url...
Best regards,
Mats Lycken