Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 3 of 3

This is a discussion on Running phpMyAdmin in SSL? Please read! in the Open Discussion & Chit-chat forum
I was bored, and surfing around phpMyAdmin's CVS when... Lo' and behold! http://phpmyadmin.cvs.sourceforge.ne...1=1.35&r2=1.36 This is in response to... http://sourceforge.net/tracker/index...67&atid=377408 That woke me up! I don't ...

  1. #1
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775

    Exclamation Running phpMyAdmin in SSL? Please read!

    I was bored, and surfing around phpMyAdmin's CVS when... Lo' and behold!

    http://phpmyadmin.cvs.sourceforge.ne...1=1.35&r2=1.36

    This is in response to...

    http://sourceforge.net/tracker/index...67&atid=377408

    That woke me up!

    I don't know if anybody else here runs phpMyAdmin in a secure socket, especially on a public computer, but if you do, here's the patch...

    Edit /libraries/Config.class.php. Around line 500:

    Change
    Code:
            // Setup a default value to let the people and lazy syadmins work anyway,
            // they'll get an error if the autodetect code doesn't work
            $pma_absolute_uri = $this->get('PmaAbsoluteUri');
            if ( strlen($pma_absolute_uri) < 1 ) {
                $url = array();
    
                // At first we try to parse REQUEST_URI, it might contain full URI
    To
    Code:
            // Setup a default value to let the people and lazy syadmins work anyway,
            // they'll get an error if the autodetect code doesn't work
            $pma_absolute_uri = $this->get('PmaAbsoluteUri');
            // by recomputing $pma_absolute_uri when is_https, we ensure
            // that a user switching from http to https stays in https
            if (strlen($pma_absolute_uri) < 1 || $this->get('is_https')) {
                $url = array();
    
                // At first we try to parse REQUEST_URI, it might contain full URI
    Better safe than sorry!
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  2. #2
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Heh! I submitted a cosmetic bug fix while I was over there...

    http://sourceforge.net/tracker/index...67&atid=377408

    Supposedly they've fixed it in version 2.9.0, but I can't find it in their CVS.
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  3. #3
    JPC Member phpbbviet's Avatar
    Join Date
    Jun 2006
    Posts
    1
    thanks for your post
    phpbb for Vietnamese: [URL="http://phpbbviet.com/forum/"]http://phpbbviet.com/forum/[/URL]

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •