SF bug #581285 specific to windows servers
Scott Kindley <ckindley-/Nmu/[email protected]>
| Newsgroups | gmane.comp.web.envolution.devel |
|---|---|
| Message-ID | <[email protected]> |
Workaround for IIS/PHP servervars needed
There is a problem using PN on IIS (atleast ver. 4 and 5) due to the
way HTTP_SERVER_VARS are handled:
If not in SSL
mode, the value of HTTP_SERVER_VARS['HTTPS'] is "off",
which causes problems in PnAPI.php line 995:
if
(isset($HTTP_SERVER_VARS['HTTPS'])) {
$proto =
'https://';
} else {
$proto = 'http://';
}
This of course
will always redirect to https:// on IIS. In my opinion it is a tricky
thing
to begin taking into account, as different webservers most likely
will set these variables differently. PHP (naturally) avoids conflict
by just passing on whatever the webserver deliveres to them.
Says it's fixed in CVS.....I think we need to check into this as I do
recall people having issues with Micro$oft platforms and PHP.
Zoom