|
|
The file you requested has either been moved to another location on this site or it no longer exists. Please return to our Home Page or use the above search tool to locate your information.
Thank you.
<%@ language="VBScript" %>
<%
Dim Conn, RS, URL
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open = "DSN=SMCDB;UID=sa;PWD=wdbMCS;DATABASE=SMC"
Set RS = Server.CreateObject("ADODB.Recordset")
URL = Request.ServerVariables("QUERY_STRING")
URL = Replace(URL,"404;http://www.supermicro.com:80/", "/")
RS.Open "SELECT New FROM Redirect WHERE Old = '" & URL & "'", Conn
%>
<% if Not RS.EOF THEN %>
Result = <%= RS("New") %>
<%
URL = RS("New")
RS.Close
Set RS = Nothing
Conn.Close
Set Conn = Nothing
response.redirect(URL)
end if%>
<%
RS.Close
Set RS = Nothing
Conn.Close
Set Conn = Nothing
%>
|
|