I sent Bing specific code that will work:
If (!IsSet($_SERVER["HTTPS"]))
Header("Location: https://" . $_SERVER["HTTP_HOST"] .
$_SERVER["REQUEST_URI"]);
Manually go to the URL specified.
https://computing.eng.iastate.edu/mambo/index.php?option=content&task=view&i
d=159&Itemid=162
It doesn't work. It will work if you remove all of the parameters and it
will work if you specify only a few of the parameters. Basically, there is
a problem with the "mambo" application handling input.
Bing persists in troubleshooting the redirect when the focus should be on
mambo.
> -----Original Message-----
> Right, you're obviously not getting this, so let's take it step by step.
>
> (1) Your browser requests
> https://computing.eng.iastate.edu/mambo/index.php?option=content&task=view
> &i
> d=159&Itemid=162
>
> (2) This fires the script /mambo/index.php on your server.
>
> (3) Script finds all conditions in the first if() are met, so tests
> $_SERVER['HTTPS'].
>
> (4) ... finding it is not set, it issues a Location: redirect to
> https://computing.eng.iastate.edu/mambo/index.php?option=content&task=view
> &i
> d=159&Itemid=162
>
> (5) Browser sees the redirect, and issues a new request for
> https://computing.eng.iastate.edu/mambo/index.php?option=content&task=view
> &i
> d=159&Itemid=162; at this point, it also changes the URL displayed in its
> address bar.
>
> (6) This seems to be where you are confused -- WHICH PAGE DO YOU THINK
> THIS
> IS GOING TO LOAD?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php