On Fri, 2008-10-10 at 09:51 -0700, Zach Cox wrote:
> I feel dumb for even asking this, as there's got to be an easy way, but my
> brain is blocked today...
> 
> I need a URL on my site, say http://mysite.com/something to redirect to
> another site entirely, say http://othersite.com.  Is there some
> IRequestTargetUrlCodingStrategy that will do this?  Or am I totally on the
> wrong track by looking there?
> 
> Thanks,
> Zach

Just mount a regular page at "/something" and in the constructor of that
page do:
throw new RedirectToUrlException("http://othersite.com";);


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to