IIS
301 Redirects can be handled through IIS but the old file must still be on the server or a 404 error will take precedence. Just right click the file and select properties. Select "A redirection to a URL" and enter in the new URL. Make sure you check the radio button "A permenant redirection for this resource" or it will be a 302 - Temporary.
ASP | .Net
You can also 301 redirect via code such as ASP and response object which runs on IIS. In the end the same result as IIS transfers. The code would be placed in the old file.
<%
Response.StatusCode = 301;
Response.StatusDescription = "301 Moved Permanently";
Response.RedirectLocation = "New URL";
Response.End();
%>
Apache:
I believe this can be accomplished in the .htaccess but I am a IIS server admin :-P
After it is done you can test the
header response.
DMC