Cannot verify connection - PHP header redirect

Ask a Question related to Macromedia Contribute Connection Administrtion, Design and Development.

  1. #1

    Default Cannot verify connection - PHP header redirect

    We run a number of sites in shared hosting accounts. We route incoming requests
    to the right directory using the PHP header redirect below.

    But Contribute cannot establish a connection when we use this redirect.
    Without the redirect, it's fine.

    Does anyone know of this problem and/or a workaround. I'd hate to have to open
    separate hosting accounts for each domain!

    TIA

    <?

    if (strstr($HTTP_HOST, "documentaryaustralia.com.au")) {
    header("Location: http://www.documentaryaustralia.com.au/da/index.php");
    exit;
    }
    elseif (strstr($HTTP_HOST, "www.documentaryaustralia.com.au")) {
    header("Location: http://www.documentaryaustralia.com.au/da/index.php");
    exit;
    }
    elseif (strstr($HTTP_HOST, "documentaryaustralia.imagine-hosting.com")) {
    header("Location:
    http://documentaryaustralia.imagine-hosting.com/da/index.php");
    exit;
    }
    elseif (strstr($HTTP_HOST, "inthecompanyofactors.com.au")) {
    header("Location: http://www.inthecompanyofactors.com.au/itcoa/index.php");
    exit;
    }
    elseif (strstr($HTTP_HOST, "www.inthecompanyofactors.com.au")) {
    header("Location: http://www.inthecompanyofactors.com.au/itcoa/index.php");
    exit;
    }
    else {
    header("Location: http://www.documentaryaustralia.com.au/");
    exit;
    }
    ?>

    soetes Guest

  2. Similar Questions and Discussions

    1. Cannot verify the connection
      I'm having a few problems trying to get 'Macromedia Contribute 3'. It appears to be an issue with the Contribute 3 verification process. It all...
    2. "Contribute cannot verify your connection information."on a Local / Network connection
      When I create a connection key and specify Local/Network for the website, then select the right folder, I get this error: "Contribute cannot...
    3. "Contribute cannot verify your connection information"- Every other problem ruled out, but still no connection
      Hi, first, please allow me to give you the background info Client OS - Windows 2000/XP Pro Version - Contribute 2.01 - I installed the patch from...
    4. SoapHeaderAttribute Required is obsolete. How to verify the header?
      Now that the Required property of SoapHeaderAttribute is obsolete, how can I verify that my custom SOAP header is sent to my Web Service? If it...
    5. #9852 [Com]: Header redirect and db connection cause "CGI misbehaved"
      ID: 9852 Comment by: nospam at nospam dot de Reported By: ron dot baldwin at sourceprose dot com Status: Closed...
  3. #2

    Default Re: Cannot verify connection - PHP header redirect

    I don't see why you want to use the redirect in Contribute. You just have to
    make connections to the different folders in Contribute (in your case it seems
    to be three connections: [url]http://www.documentaryaustralia.com.au/da/index.php[/url],
    [url]http://documentaryaustralia.imagine-hosting.com/da/index.php[/url],
    [url]http://www.inthecompanyofactors.com.au/itcoa/index.php[/url]) and then you administer
    these three connections throught Contribute admin section, adjusting Users and
    Roles, making Connection keys, etc.

    What you have as a result a three 'sites' in Contribute with there own
    connection and administration, but within the same domain.

    When you do not want that, you just provide your users with bookmarks (main
    menu) to the three main folders/pages, so they can start browsing and editing
    from these starting pages.

    ThinkInk 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