Posts by itscz.org

    Ich will gerade von 5.6 auf 7.0 updaten, aber via


    Code
    1. /var/www/imscp/engine/setup/imscp-reconfigure -r php


    lässt sich die Version nicht anpassen.


    EDIT: So geht es:

    Quote

    You need rerun the distribution installer with the --reconfigure option and php item:

    Code
    1. perl imscp-autoinstall --debug --reconfigure php

    I am running plugin version 3.3.0


    I figured out the reason for me was a failb2ban apache rule, it blocked my own public ip from using port 443 locally. I temporary disabled fail2ban and it worked immediately then. Did not take further investigations yet what exactly was that rule and why it has been triggered, but maybe you should check your iptables for any active https input filter on your own interfaces.

    I migrated my installation from Jessie (8.1) to Stretch (9.4; another machine), and everything seems to work fine, except for one thing:


    When i try to create a self-signed certificate for a subdomain, it is rejected with an error and i receive an error mail:


    Code
    1. Version: 1.5.1
    2. Build: 20170908
    3. Nachrichtenpriorität : Error
    4. ==========================================================================
    5. [79.227.204.40] Could not write in
    6. /var/www/imscp/gui/data/tmp/13-openssl.cnf0re5bK openssl temporary
    7. configuration file.
    8. ==========================================================================

    The mentioned folder has the same permission as on the old machine.


    Any advice to address this problem?

    Wow thank you very much, it works this way.


    However i modified it a bit because "phptmp" does not exist there per default, so i created a "htdocs, phptmp" subdirectory structure there and i also edited the 00_ServerDefaultPage_ssl.conf


    Here is my result: https://itscz.org/ (accept the self-signed here)


    But i am wondering if this is update safe?

    Hi,


    this is not a bug but a question and hopefully anyone can help me.
    I developed a more user-friendly default page in php with some stat display and redirection (eg. for ssl-accessing non-ssl-enabled pages => plain http) and failed with enabling php for this page.


    If a add the following directives in the site config the page is loading endless:



    Code
    1. <Proxy "unix:/var/run/php5-fpm-www.sock|fcgi://127.0.0.1:9000/var/www/virtual/ServerDefaultPage/">
    2. ProxySet timeout=7200
    3. </Proxy>
    4. <FilesMatch ".+\.ph(p[3457]?|t|tml)$">
    5. SetHandler proxy:unix:/var/run/php5-fpm-www.sock|fcgi://127.0.0.1:9000/var/www/virtual/ServerDefaultPage/
    6. </FilesMatch>

    If i point to a real domain socket i receive "File not found" which seems legit to me due to filesystem permissions but i won't go ahead with misusing real domain user environments here.
    Anyone has an idea how to properly enable php for the default page?


    Thanks,
    Chris