Changes in 10_apache2_dualstack.pl when updateing to 1.4.3

  • Hello,
    am I right that the new 10_apache2_dualstack.pl listeners file is a simplified version of the old one ? When upgrading from 1.3.9 to 1.4.3 my old listener is not changing the port for ipv6 address.
    The old script I have does some checks for port etc.
    I use it to set one additional v6 address, Anyone changed the listener already ?



    Thanks in advance

  • @merlin81


    Could you show us your current listener?


    For the 1.4.x Serie, you can use: https://github.com/i-MSCP/imsc…2/10_apache2_dualstack.pl


    BTW: The Apache2 dualstack listener has nothing to do with listen ports. This has to do with IP addresses only.

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

  • I use this to add an additional IPv6 address. Looks like it works, only ssl port is wrong in *_ssl.conf files.

  • Hello,



    I think the mistake is in line 27 - I am not really an expert in that, but it looks like you got the wrong pattern to compare for for sslVhost - it is the third bracket so it should be $3 I guess.

    Code
    1. $1 = (?:_(?:disabled|redirect))
    2. $2 = (?:disabled|redirect)
    3. $3 = (_ssl)?


    Regards Jörg

    (Ubuntu 16.04, i-MSCP 1.5.1, php-Fpm, Plugins: ClamAV, CronJobs, InstantSSH, LetsEncrypt, Mailgraph, Monitorix, OpenDKIM, PhpSwitcher, PolicydSPF, Postscreen, RecaptchaPMA, RoundcubePlugins, ServerDefaultPage, SpamAssassin, YubiKeyAuth)

  • @merlin81


    Just update your listener. See my previous post.

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