Facing problem in url rewriting through httphandler.
i have added following code in httphandler tag in web.config.
<system.web>
<httpHandlers>
<add
verb="GET"
path="/pages/"
type="System.Web.UI.PageHandlerFactory" />
<add
verb="GET"
path="/Default.aspx"
type="MyHandler.SyncHandler, MyHandler" />
</httpHandlers>
</system.web>
Here i have to redirect on Default.aspx and virtual url should be like "http://localhost/Test/pages/" in place of "http://localhost/Test/Default.aspx"
I dont knw proper format of this path attribute of httphandler.
parikh
Member
25 Points
5 Posts
url Rewriting through httphandler with querystring format
Mar 10, 2006 01:29 PM|LINK
Facing problem in url rewriting through httphandler.
i have added following code in httphandler tag in web.config.
<system.web>
<httpHandlers>
<add
verb="GET"
path="/pages/"
type="System.Web.UI.PageHandlerFactory" />
<add
verb="GET"
path="/Default.aspx"
type="MyHandler.SyncHandler, MyHandler" />
</httpHandlers>
</system.web>
Here i have to redirect on Default.aspx and virtual url should be like "http://localhost/Test/pages/" in place of "http://localhost/Test/Default.aspx"
I dont knw proper format of this path attribute of httphandler.
Thanks,