PanelRedirect

  • I tried to install this plugin yesterday, but got an error message since I'm running the Github version 1.2.x - it complains with a "Your i-MSCP version is not compatible with this plugin."


    I then tried to re-create the functionality through a proxy set-up myself, but ran into some ugly problems with the web tools: webmail et al. try to redirect traffic to port 8080 (mainly because https://example.com/pma gets redirected to https://example.com/pma/ - plus, the redirect adds the port like this: https://example.com:8080/pma/ ) - which fails since I try to hide the port 8080 by routing via loopback (127.0.0.1) and setting nginx to listen on that interface only, too. My goal is to force access through ssl, and make it available only through BASE_SERVER_VHOST… any clues which might help me? TIA (and thanks for the awesome work you're doing here, btw!)

  • Just use the current master version of the plugin..

  • in the current version for I-MSCP v1.2.3 it is not possible to login in e.g. PhpMyAdmin webinterface. There seem to be a broken redirekt which redirects to the default domain page (or something like that)


    A temporary solution for me is to redirect using a simple .htaccess redirect. It is not as beautiful as this solution but it should work for all new versions:


    Code
    1. RewriteEngine On
    2. RewriteRule (.*) https://%{HTTP_HOST}:4443%{REQUEST_URI}

    How to do this:
    - create a subdomain which is the same url as your admin panel (e.g. admin.domain.tld)
    - upload/create the htaccess file (see content above) inside the htdocs folder

  • What ? You mean when using RedirectPlugin, the pma is not working? You use proxy option or rediretct option?

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

  • Had no idead that there are two options ... it seems its the redirect options to use default ssl port 443.


    Scenario:
    Go into "Database" list of a domain and press the PhpMyAdmin button -> redirects to my default domain page and not to pma
    (haven't checked webmail or other tools)

  • I'll check

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

  • Hi,


    I think I haven't fully understood the documentation of this plugin.


    Installed the current version on i-MSCP 1.2.8, tried proxy and redirect mode, but both not redirecting customerdomain.tld/webmail to roundcube.


    Do I have to configure anything else?


    Regards,


    -bk-

  • @-bk-


    This is not the purpose of those plugins... Read again ;)

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