Instalacion nueva de 1.3.0 No reedirecciona a ftp, webmail y pma

  • Buenas.


    Instale sobre debian 8 1.3.0


    Pero me doy cuenta que no me funciona el reedirect al colocar /webmail /ftp o /pma


    que podra ser?

  • @jpertuz


    There is no redirections for those tools ;)


    You can access these tools trough the control panel URL. For instance: http:panel.domain.tld:8880/webmail


    If you really want pollute your customer domains with aliases for these tools, look at this listener: https://github.com/i-MSCP/imsc…30_apache2_tools_proxy.pl

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Thanks Nuxwin


    For Emergency, I use /etc/imscp/listeners.d/10_apache2_tools_redirects.pl , next run
    perl imscp-autoinstall -d


    All good.



    But you said, use 30_apache2_tools_proxy.pl



    i copy in /etc/imscp/listeners.d/ ??? after then what command run?


    Thanks.

  • Igual que haciamos antes solo ha cambiado el comando


    cd /var/www/imscp/engine/setup/
    perl imscp-reconfigure


    S2

  • @jpertuz


    And don't forget to remove the 10_apache2_tools_redirects.pl listener which is deprecated.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hi. @Nuxwin@kurgans


    Delete 10_apache2_tools_redirects.pl and copy 30_apache2_tools_proxy.pl



    run perl imscp-reconfigure



    But result:




    Example: my domain panel is: https://panel.myisp.net (i-mscp)




    My domain is: www.midominio.com (site client)



    When type www.midominio.com/webmail (ftp or pma) the reedirect to:


    https://midominio.com/webmail result: NO FOUND (404).




    Solve provisional: edit: /etc/apache2/sites-enabled/midominio.com.conf


    change: RedirectMatch permanent ^(/(?:ftp|pma|webmail)[/]?)$ https://midominio.com$1



    to: RedirectMatch permanent ^(/(?:ftp|pma|webmail)[/]?)$ https://panel.myisp.net$1






    Restart apache and imscp_panel


    Work.