Redirect for our domains

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Redirect for our domains

    Hi

    We have a number of domains that have been active over the years and are still
    active and are all accessing the same site. I am using CF6.1 on our site and
    have just changed the domain name of our space again :frown;

    with these addresses: [url]www.patersonord.com.au[/url] and
    [url]www.patersonssecurities.com.au[/url], I want the user to be redirected to
    [url]www.psl.com.au[/url] with a brief message letting them know they need to change their
    bookmarks or whatever so that we don't have to keep these domains indefinately,
    I have looked at the cfheader code but am unsure if this is the best way to do
    this. Any help would be appreciated.

    Regards
    MWheeler

    patord Guest

  2. Similar Questions and Discussions

    1. XML across domains
      I have a project that sends queries to a database and receives XML formatted data: Markets_xml = new XML(); Markets_xml.onLoad = readMarketsXML;...
    2. redirect to guest if first redirect is doesnt work for a user
      Hi all, I was wondering if anyone could help me solve a problem Once a user hits a certain webpage ..I try to redirect them to another using...
    3. 2 domains on one server
      Can I run 2 network domains on one Win 2003 server? I need to support to seperate companies and keep security seperate but I need to do it on one...
    4. CGI.pm redirect multiple cookies or multiple domains
      I need to set mulitple cookies in a redirect header. Here's a snippet of what I have: # Set Cookie my $cookie1; my $cookie2; if...
    5. Redirect to New Browser Window like Response.Redirect
      That worked just fine for me as long as you put that open statement on one line rather than 2. "michel" <michely3k@yahoo.com> wrote in...
  3. #2

    Default Re: Redirect for our domains

    How about just checking what #cgi.server_name# contains?



    Fernis Guest

  4. #3

    Default Re: Redirect for our domains

    This might be done most effectively on a web server level. Most web servers
    running on a particular IP address have a way of recognizing the URL being
    requested, since in some cases they could direct the HTTP request to the
    necessary directory which is serving as a document root for that URL. The
    person who administers your web server should be able to configure it to
    provide the message and then redirect the request.

    -Paul


    dempster Guest

Posting Permissions

  • You may not post new threads
  • You may 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