Msg#: 3148876 posted 4:22 pm on Nov 7, 2006 (gmt 0)
We recently change over to an Apache Web Server, I noticed in our 404 error log file that we are getting alot of reference to old pages with the .asp extension. Is there away to redirect the old .asp page to the new .aspx pages?
Msg#: 3148876 posted 10:01 pm on Nov 8, 2006 (gmt 0)
<%@ Page Explicit="True" Language="VB" Debug="True" %> <script runat="server"> Sub Page_Load(Sender As Object, E As EventArgs) If Not IsPostBack Then Response.Redirect("TARGET URL HERE") End If End Sub </script>