HttpHandler to Redirect root Default.aspx

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I created HttpHandler to redirect root Default.aspx. But I don't know how to
create path, that will redirect just web root Default.aspx. I tried following
line, but it redirects all Default.aspx never mind in which subdirectories
they are locate:

<add verb="*" path="Default.aspx"
type="MyProject.command.httphandler.RedirectionHandler, MyProject" />

Any suggestions please

Thank you
 
Thanks Robbie

There is also works:
"/Default.aspx"

I meet problem because, I did not clear my test browser cache.

Thanks again
MilanB
 
Back
Top