Last post Aug 15, 2009 05:35 AM by sagnikmukh
Aug 12, 2009 05:45 AM|msfit|LINK
I've got a small site with the only file called "MySite.aspx".
But there are lot's of sections in site: /products/, /orders/, /clients/, ...
My hoster says he has IIS mod rewrite on the server.
I wrote in my Global.asax:
void Application_BeginRequest(object sender,
And this really works:
User requests mysite.com/xxx.aspx or mysite.com/section/xxx.aspx and MySite.aspx runs instead. Great!
But in case a user requests URL like mysite.com/xxx/ he sees error 404. (And I want MySite.aspx run instead)
What sholud I do?
Maybe I should add something to my web.config?
Aug 15, 2009 05:35 AM|sagnikmukh|LINK
use open source free http://urlrewriter.net/
and example is here,