6 Replies Latest reply on Nov 28, 2008 7:12 PM by (Purple_Edge)

    ADDT: Login redirects to non existant https on host

      Hi everyone

      Hoping someone can help me out here:
      I designed my site locally on apache using php. Once all is uploaded to the host every page that has a dynamic form or login always redirects to the wrong URL. For some reason it puts an https:// prefix instead of just a normal http://. Why is it doing this?

      For instance, logging in should redirect to http://www.whatever.com/index.html/ but instead it redirects to https://www.whatever.com/index.html/ thus causing the browser to display a 'Data Transfer Interrupted' page! Clicking on the back button takes me back to the login page where I am logged in no problem! Can someone please tell me if this is a fault with "my" redirects or if its a fault on the host!

      Many thanks for any help offered.

      Kind regards
        • 1. Re: ADDT: Login redirects to non existant https on host
          Hi Cameron

          I am having exactly the same issue. Might I ask who you host with as our issues seem to coincide.

          Regards

          Glennyboy
          • 2. Re: ADDT: Login redirects to non existant https on host
            Level 1
            Cameron

            Just to let you know that in my instance this is a problem with the apache configuration file and you would need to ask your isp to resolve.

            Cheers

            Glennyboy
            • 3. Re: ADDT: Login redirects to non existant https on host
              Level 1
              Hey Glenn

              I see the support in this place absolutely rocks!!! <<sarcasm of note :(
              This software cost quite a bit and i'm quite shocked at the weak support for it here in the adobeforums, is there somewhere else I can rather ask for help or is this it?

              Anyway, I found what the problem was, it was not the host. Check out your 'includes' folder under 'common' there is a file called KT_functions.inc.php. Look for the code like below.

              function KT_redir($url) {
              $protocol = "http://";
              $server_name = $_SERVER["HTTP_HOST"];
              if ($server_name != '') {
              $protocol = "http://";
              if (isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == "on")) {
              $protocol = "http://";

              The last line of this code said "$protocol = "https://";"
              So I changed it to $protocol = "http://";

              I guess just above that line you could always change the option to 'off' instead of "on". Look at the kt_functions file and you'll see what I mean.

              I hope this helps you out, it took me a while to find the issue but all seems well now :)

              Have an awesome wknd.

              Regards
              Cam
              • 4. Re: ADDT: Login redirects to non existant https on host
                Level 1
                Hi Cam

                Glad you sorted you issue. Mine actually was as posted - issue with apache config, but your input is obviously useful for others.

                I've had varied success on here regarding support. I have been lucky enough at times to be dealing with 'Gunter' who has provided me with excellent info and guidance, but if he's not around no one else seems to step in. This might be because it's Thanksgiving in the sates, but that's just a guess as to why it's so quiet on the support front.

                One thing that gets me is that Adobe haven't upgraded the scripts in any way since they were launched. There are obvious areas for improvement, but they seem happy to sit on their hands and stick with the original 'Interakt Online' technology.

                As you say ADWDT isn't cheap and we should expect more.

                Cheers

                Glennyboy
                • 5. Re: ADDT: Login redirects to non existant https on host
                  Günter Schenk Level 4
                  Hi Cameron,

                  -------
                  I see the support in this place absolutely rocks!!! <<sarcasm of note This software cost quite a bit and i'm quite shocked at the weak support for it here in the adobeforums, is there somewhere else I can rather ask for help or is this it?
                  -------

                  the ADDT forums are - like all other Adobe forums - user-to-user, so you don´t get official "support" here too.

                  @Glennyboy:

                  -------
                  I have been lucky enough at times to be dealing with 'Gunter' who has provided me with excellent info and guidance, but if he's not around no one else seems to step in
                  -------

                  I´m still around of course, but there are times when my own workload and/or private matters have an impact on the time & energy I can spend on answering questions.

                  -------
                  This might be because it's Thanksgiving in the sates, but that's just a guess as to why it's so quiet on the support front
                  -------

                  no thanksgiving here in germany ;-) However, ever since I´m monitoring the ADDT forums as regretfully only "community expert", I´ve come to notice that...

                  a) contributions coming from other users are generally pretty sparse

                  b) november/december are traditionally months when not much is going on here anyway and when many users seem to be focussed on other stuff.

                  Cheers,
                  Günter Schenk
                  Adobe Community Expert, Dreamweaver
                  • 6. Re: ADDT: Login redirects to non existant https on host
                    "The last line of this code said "$protocol = "https://";"
                    So I changed it to $protocol = "http://";
                    "

                    You have effectively disabled https support on your host, is this what you want. I suspect your real problem is the same as that posted by Glennyboy.