Hi I have a sharpeoint 2007 server running on win2k3 IIS6. We've changed the FQDN for sharepoint and added the alternative access mappings within the admin site. We're running into a few problems. I've also added an SSL certificate and required a Secure connection. I replaced the 403:4 error with a simple redirect that will send users to the main site's root address https://portal.company.com
. User's have hardcoded links and applications within sharepoint that use an unsecured and old web address. Is there a way to code the redirect 403:4 page to do a smart redirect? Can I have the address be parsed in and replace just the http with https? I was given this code by someone but it didn't successfully redirect.
<%@ Page Language="C#" %>
string newLocation = Regex.Replace(Request.Serv
<title>Redirecting to portal.company.com...</tit
You are now being redirected to <a href="<%= newLocation %>">
<%= newLocation %></a>
Please update your links to https://portal.company.com