If it's a one-off, would you suggest adding another dependency and configuration file to the mix?
On Fri, Oct 10, 2008 at 1:13 PM, Martin Grigorov <[EMAIL PROTECTED]> wrote: > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]