Protect phpmyadmin

Discussion in 'HOWTO-Related Questions' started by GarGamel55, Jul 17, 2011.

  1. GarGamel55

    GarGamel55 Member

    Hi,

    First, sorry for my bad english ... :eek:

    I followed the tutorial "http://www.howtoforge.com/protect-phpmyadmin-on-an-ispconfig-3-server-debian".

    I have access to phpMyAdmin with the alias (like xx.xxx.xx.xxx/myalias), no problem to connect.

    But, i cant' apply : "In the PHPMyAdmin URL field On the "Sites" tab, add your alias for /phpmyadmin, which is in this example: /myalias", it's return :
    Debian 6 64bits with ispconfig3

    Can you help me ?

    Thanks a lot

    GarG
     
    Last edited: Jul 17, 2011
  2. GarGamel55

    GarGamel55 Member

    was apparently due to underscore that I used in my alias

    :rolleyes:
     
  3. cjimenez

    cjimenez New Member

    Hi GarGamel55,

    You can also edit "/usr/local/ispconfig/interface/web/sites/database_phpmyadmin.php" and change the path at the end.

    Ex: '/phpmyadmin' to '/myalias'

    header('location:' . $http . '://' . $serverData['server_name'] . '/phpmyadmin');
     

Share This Page