Panelredirect 1.1.2 and i-mscp 1.3.0 won't working

  • I updated to i-mscp 1.3.0


    deactivated all plugins before update and updated/activated them one by one.
    Only Plugin not working is PanelRedirect.


    I Set the plugin to 'proxy'
    Plugin status says activated
    but the .conf files under /etc/apache2/sites-available are not generated.


    If you visit the Panel the first customer site will show up.


    Sorry for my bad english.

  • The vhost config is under /etc/apache2/imscp/before/. Please check if there's a vhost-file. If yes, restart apache2 please and check if it's working...

  • Hmm strange that it did not restarted.. If this happens to another customer I need to investigate..

  • Hallo,


    I have the same problem.


    I have install PanelRedirect and restart the Amach2 and it is not working.


    in the directory "/etc/apache2/imscp/before/" are 2 files.


    PanelRedirect.conf and PanelRedirect_ssl.conf


    The URL: www.v-gn.eu/webmail


    I become a Error 404


    How can I solve this. ?


    Viktor

    - Distribution: Debian | Release: 8.10 | Codename: jessie

    - i-MSCP Version: i-MSCP 1.5.3 | Build: 20180516 | Codename: Ennio Morricone

    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), PanelRedirect (v 1.2.0) & SpamAssassin (v 2.0.1)

    - LetsEncrypt (v 3.6.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)

    Edited once, last by Viktor ().

  • @Viktor bug is already fixed. Are you using latest version with imscp 1.3.0?

  • @Viktor


    You use the latest version and there is no bug ;) The PanelRedirect plugin is means to redirect requests made on standard ports (80 and 443) to the panel hostname but you must still request the panel hostname. In your case, the panel hostname is panel.jh-gn.de and not v-gn.eu.


    The plugin provides two modes which are:


    Redirect mode


    In this case, a request made on http://panel.jh-gn.de/webmail would be redirected to http//panel.jh-gn.de:8080/webmail, excepted if BASE_SERVER_VHOST_PREFIX value is set to https:// (your case). In such case, you would be redirected to https//panel.jh-gn.de:4443/webmail


    Proxy mode (default mode)


    In this mode, all is transparent. A request made on http://panel.jh-gn.de/webmail would result to the view of the webmail without any URL change, excepted if BASE_SERVER_VHOST_PREFIX value is set to https:// (your case). In such case, you would be redirected to https://panel.jh-gn.de/webmail


    If you go to https://panel.jh-gn.de/webmail, this works as expected.


    Info pulled from your imscp.conf file:

    Code
    1. root@admin ~ # cat /etc/imscp/imscp.conf |grep BASE_SERVER_VHOST
    2. BASE_SERVER_VHOST = panel.jh-gn.de
    3. BASE_SERVER_VHOST_PREFIX = https://
    4. BASE_SERVER_VHOST_HTTP_PORT = 8080
    5. BASE_SERVER_VHOST_HTTPS_PORT = 4443

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

  • @Viktor


    What you're looking for is that listener: https://github.com/i-MSCP/imsc…30_apache2_tools_proxy.pl

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

  • Hallo @All,


    sorry for my miss understanding.


    Is works also.


    Can I use the listener for imscp 1.3.0 ?


    Kind regards
    Viktor

    - Distribution: Debian | Release: 8.10 | Codename: jessie

    - i-MSCP Version: i-MSCP 1.5.3 | Build: 20180516 | Codename: Ennio Morricone

    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), PanelRedirect (v 1.2.0) & SpamAssassin (v 2.0.1)

    - LetsEncrypt (v 3.6.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)