471,086 Members | 1,164 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,086 software developers and data experts.

HttpHandler to Redirect root Default.aspx

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.RedirectionHan dler, MyProject" />

Any suggestions please

Thank you

Mar 8 '06 #1
2 2999
try

path="~/default.aspx"

--
Robbe Morris - 2004-2006 Microsoft MVP C#
Earn money answering .NET questions
http://www.eggheadcafe.com/forums/merit.asp

"MilanB" <Mi****@discussions.microsoft.com> wrote in message
news:E7**********************************@microsof t.com...
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.RedirectionHan dler, MyProject" />

Any suggestions please

Thank you

Mar 9 '06 #2
Thanks Robbie

There is also works:
"/Default.aspx"

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

Thanks again
MilanB
Mar 9 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by sathya | last post: by
8 posts views Thread by bryan | last post: by
6 posts views Thread by Mike | last post: by
10 posts views Thread by Eirik Eldorsen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.