Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Redirect to a new site

Contributor ,
Apr 28, 2011 Apr 28, 2011

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.

771
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 28, 2011 Apr 28, 2011

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 28, 2011 Apr 28, 2011
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources