Ive implemented URL redirection using MOSS using the HTTP module route. I documented the code I used and which parameters worked best for me here;
http://scaredpanda.com/2008/08/url-rewriting-with-sharepoint-moss-2007/
Take a look and let me know if this helps you and if you have any questions.
Update:. The link above is no longer valid, so here is the text from the page that I used to redirect the URL.
After a little busting, I came up with a good way to do this. When I searched for examples on the Internet, there were many people who said that this was impossible to do. But in the end, in fact, this was not required. Heres the HttpModule that I wrote to do this job.
The keys are this.app.BeginRequest + = new EventHandler (app_BeginRequest), which steps before the request and allows the module to redirect it.
And HttpContext.Current.RewritePath (redirect, false); will click the desired n headers so that the receiving .aspx page understands how to send the message correctly.
using System; using System.Data; using System.Data.SqlClient; using System.Reflection; using System.Collections; using System.Text; using System.Web; using System.Web.Caching; using System.Web.SessionState; using System.Security.Cryptography; using System.Configuration; using System.Threading; using System.IO; using System.Security; using System.Security.Principal; namespace ScaredPanda { public sealed class RewriteHttpModule : IHttpModule { HttpApplication app = null;
source share