phpmyadmin - config.inc.php

Discussion in 'General' started by rvarkevisser, Jun 14, 2008.

  1. rvarkevisser

    rvarkevisser New Member

    Hi there,

    I've got a weird problem. I use certified SSL certificates for my servers and when I go to https://web02.dwconline.nl:81/phpmyadmin, it redirects to mail02.dwconline.nl. It's not only phpmyadmin, but also when I use a redirect /mailuser to https://web02.dwconline.nl:81/mailuser, it goes to https://mail02......

    I checked /home/admis.../ispconfig/lib/config.inc.php and excluded the lines


    //if(isset($_SERVER['HTTP_HOST'])){
    // $go_info["server"]["server_url"] = 'https://'.$_SERVER['HTTP_HOST'];
    //} else {

    $go_info["server"]["server_url"] = "https://web02.dwconline.nl:81";

    //}

    So the URL should be correct. But somehow it still redirects to https://mail02....
    I even removed mail02.dwconline.nl from the hosts file and changed "servername = web02.dw...." in ispconfigs httpd.conf. I don't know where the problem is.
     
    Last edited: Jun 14, 2008
  2. falko

    falko Super Moderator Howtoforge Staff

    Please check if mail02.dwconline.nl is referenced somewhere in /root/ispconfig/httpd/conf/httpd.conf.
     

Share This Page