Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2885 Strange SSL issue in 4.2.4

v4.2.4
open
nobody
None
7
2012-02-08
2012-02-08
Shredder
No

Apache Webserver, shared SSL, PHP 5
Site is running well with https, port 443.

But in Configuration: Phpgedview Url is automatically recognized as http connection but with port 443.
Same if you access site directly via https or via http redirect to https
Mail is sent for new user registration with the link: http://domain.com:443/...
If manually adding the paths to the site configuration, above value is added too it causing an endless loop.

Can it be that $Server https is blank and this is the cause for the wrong values?

Thank you for helping!

Discussion

1 2 > >> (Page 1 of 2)
  • Shredder
    Shredder
    2012-02-08

    Screenshot

     
    Attachments
  • Shredder
    Shredder
    2012-02-08

    • priority: 5 --> 7
     
  • Shredder
    Shredder
    2012-02-08

    This happens on logout:

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>400 Bad Request</title>
    </head><body>
    <h1>Bad Request</h1>
    <p>Your browser sent a request that this server could not understand.<br />
    Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
    Instead use the HTTPS scheme to access this URL, please.<br />
    <blockquote>Hint: <a href="https://127.0.0.1/"><b>https://127.0.0.1/</b></a></blockquote></p>
    <hr>
    <address>Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 Server at 127.0.0.1 Port 443</address>
    </body></html>

     
  • Shredder
    Shredder
    2012-02-08

    • assigned_to: nobody --> canajun2eh
     
  • Shredder
    Shredder
    2012-02-08

    This is the behaviour with IE 6:

    returns to login page as it should, but: without https.
    "http://www.fitzek.cc:443/login.php?url=index.php?ctype=user"

     
  • Gerry Kroll
    Gerry Kroll
    2012-02-08

    Please don't assign bug reports. This should not be done by the reporter.

    What happens when you fill in the $SERVER_URL value in the "config.php" file with the correct information? You might have to do this manually, since PGV obviously won't run properly.

    You might need to set a value into the $LOGIN_URL variable too.

    I have no experience with https , so i'm not going to be able to advise you very well.

     
  • Gerry Kroll
    Gerry Kroll
    2012-02-08

    • assigned_to: canajun2eh --> nobody
     
  • Shredder
    Shredder
    2012-02-08

    thank you for your answer, sorry, didn´t know this about assignments, new here...

    if i fill in the $server_url in config.php both values are used, the filled in one and the system estimated one is added behind, resulting in an endless loop.

    same if $login_url is set.

    could it be that the ssl proxy host has to be defined somewhere as it is NOT the localhost?

    the site is running free of errors on port 443, logout results in the call for a http page but with port 443. so it looks that the parameter for the protocol is not properly set too https

     
  • Shredder
    Shredder
    2012-02-08

    following info might help:

    if i login with twice with two browsers, both function over https without problem.

    logout from the first browser results to above described problem

    but if i logout from the second browser, this one redirects correctly to https.login-page

     
  • Gerry Kroll
    Gerry Kroll
    2012-02-09

    Please try upgrading to the "SVN" version. The download link and instructions are in a recent Help topic whose title begins with "Repost: ..."

    If you're editing the config.php file manually, be sure to include the "http://" or "https://" at the beginning of the server URL, and also be sure that there is a trailing "/" in the URL.

    The Login URL should be empty.

    How are you launching PGV before you log in? Are you using a URL that begins with "https://"? If not, that could be the source of your problem.

     
1 2 > >> (Page 1 of 2)