Professional Web Applications Themes

Migrating site from ASP - Coldfusion - Advanced Techniques

Hi All. I'm migrating an ASP site to CF, and the site owner is worried that users will continue to use old bookmarks with the .asp suffix. Has anyone got any ideas on how I can create an error handler to route users to the appropriate new .cfm page? I have tried creating error handlers and pointing IIS to them on a 404 error, but IIS won't process anything but HTML in an error page. I suppose I could use a meta-refresh on the 404 page, but I don't know how I would pass on the value of the page ...

Sponsored Links
  1. #1

    Default Migrating site from ASP

    Hi All.

    I'm migrating an ASP site to CF, and the site owner is worried that users will
    continue to use old bookmarks with the .asp suffix. Has anyone got any ideas on
    how I can create an error handler to route users to the appropriate new .cfm
    page? I have tried creating error handlers and pointing IIS to them on a 404
    error, but IIS won't process anything but HTML in an error page. I suppose I
    could use a meta-refresh on the 404 page, but I don't know how I would pass on
    the value of the page they were looking for.

    Any suggestion woul dbe appreciated.

    Cheers

    David

    Sponsored Links
    Laverda668 Guest

  2. #2

    Default Re: Migrating site from ASP

    You can set in the apache, or IIS settings, to have all .cfm, .cfml , and .asp
    requests to be pushed to the Cold Fusion. Use the error page to check to see
    if the same file exists as a .cfm, if it does send them there, if not, show
    error.

    I am sorry I don't remember the file name and location where you make the
    changes on Apache. If I find it, or remember it, I will come back and post
    again. I remember it was a very simple process, open the file, change the line
    to include .asp, then save the file and restart the web service and cold fusion.

    Hope this helps,



    coderWil Guest

  3. #3

    Default Re: Migrating site from ASP

    You should use ISAPI rewrites. Go trough the whole other site and rewrite the URLs to match the new site.
    Stressed_Simon Guest

Similar Threads

  1. Migrating from CF5 to CF7
    By ZOD_Nir in forum Coldfusion Database Access
    Replies: 2
    Last Post: November 14th, 07:20 PM
  2. Migrating site to new server
    By whytwolfasu in forum Macromedia Contribute Connection Administrtion
    Replies: 2
    Last Post: June 16th, 10:16 PM
  3. Migrating to PHP 5
    By EniGMistA in forum PHP Development
    Replies: 2
    Last Post: July 28th, 01:48 PM
  4. Replies: 2
    Last Post: September 12th, 10:41 AM
  5. Migrating a site from GoLive to Dreamweaver MX?
    By Jim in forum Macromedia Dreamweaver
    Replies: 6
    Last Post: August 6th, 04:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139