Posts by UncleSam

    Hello,


    currently I am installing a new system using Ubuntu 16.04 LTS. By installing it uninstalled my resolvconf tool (and therefore no dns lookups possible after ist).


    I know how to install it again - so no problem, but I think this is a bug, isn't it?

    Definitly France after the win against germany - but I think it is not going to be a game which is nice to watch :)


    And I think Nuxwin is right: Portugal is a 1-2 man show at the moment which is not working very well at the moment

    Hello,


    I bought the PhpSwitcher some minutes ago and I am having some troubles with it.


    Server:

    • Currently I am using PHP FPM per site.
    • I-MSCP (1.3.0)
    • Ubuntu 14.04.4 LTS (codename: trusty)
    • PhpSwitcher: 2.2.6
    • Tried PHP Versions (using included script for compiling all of these php versions):

      • 7.0 (7.0.8)
      • 5.6 (5.6.23)
      • 5.5 (5.5.37)
      • 5.4 (5.4.45)




    If I activate any of the PHP Versions above for one page there is no longer the possibility to open php files. All I got is a "404" error message. I have no idea where to find any errors. Inside the admin panel the main php version configuration part says "Status: OK" for all versions. Inside the domain settings it is also saying "OK". By getting the info page it is showing the correct phpinfo of the choosen version.


    Does anyone know this problem? Can anyone help me please?

    In my opinion you should not edit config files which are managed by I-MSCP. You can edit parts of the config using the /etc/apache2/imscp/*.conf files (they are loaded by the main config file for each (sub-)domain).


    If you want to redirect the best would be to be sure to use I-MSCP v1.3.0 or newer because the HSTS feature is implemented now and can be activated (https://i-mscp.net/index.php/T…57-i-MSCP-1-3-0-RELEASED/)


    For the admin panel redirection I personally do the following (in this example the admin interface can be reached using https://admin.domain.tld:4443):

    • I create the domain "domain.tld" inside I-MSCP
    • Adding subdomaind "admin.domain.tld"
    • Enabling SSL for the subdomain
    • Placing an .htaccess file which redirects all requests to port 4443 (normal redirect)

    .htaccess file:

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

    Benefits (for me):
    I do not like the admin interface proxy plugin - so I do not have to use it.