Copy link to clipboard
Copied
Hello,
I am in the mist of redirection a lot of our .cfm pages to a sharepoint site.. I really do not know how to get this done smootly.
Here is the issue:
domain http://prod.james.org\john\ has a lot .cfm pages in its root directory and subdequent pages have also been created in the Sharepoint Server.
I have created a database table that is holding the information for the old pages and the new Sharepoint pages. on my site "http://prod.james.org\redirect\ "
What I would like to accomplish is to set the URL redirect on the IIS pointing to my page ("http://prod.james.org\redirect\ "), then search for the cgi.referrer; if found then redirect to the new Sharepoint site. But this is not working. I am running out of ideas.
Please help.
Copy link to clipboard
Copied
You will need to be more specific than "not working".
What version of CF and OS are you using?
What does your current code look like?
What happens when you run your current code as it is?
Copy link to clipboard
Copied
What I did was to go to the properties of the individual page in IIS eg and change the "A redirection to a URL." to http://prod.james.org\redirect\ " but this is not passing the CGI.Referrer with the actual .cfm page as a param.
Then that did not work So I changed the IIS to http://prod.james.org\redirect\?ref=$V... where the $V variable passes the requested URL, without the server name as indicated by Microsoft. But I would in addition to this like to pass the Server name, that is where I have my biggest problem now.