Bienvenue sur ce topic.
tout est dans le titre, mai pas suffisamment détailler.
normalement après l'avoir installer par les dépôts.
dpkg -l |grep rainloop
ii rainloop 1.12.1-2 all Simple, modern & fast web-based email client
on obtiens pour apache:
cat /etc/apache2/sites-available/rainloop.conf
## RainLoop default configuration for Apache2
<VirtualHost *:80>
# For use as a virtual host, set ServerName to the desired FQDN.
#ServerName www.example.com
DocumentRoot /usr/share/rainloop
# SSL configuration
#SSLEngine on
#SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
#SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
# PHP configuration
<FilesMatch \.php$>
SetHandler "proxy:unix:/var/run/php/php7.3-fpm.sock|fcgi://localhost/"
</FilesMatch>
# Log configuration
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
2ensite rainloop.conf
Site rainloop already enabled
ensuite on essaye le lien qui devrai être:
http://91.masquer.100.104/?admin
ou:
http://www.domaine.com/?admin
Dans les log d'apache après un redémarrage d'apache, j'ai trouver ceci
[Wed Oct 14 01:51:08.299054 2020] [mpm_prefork:notice] [pid 10783] AH00171: Graceful restart requested, doing restart
[Wed Oct 14 01:51:08.351678 2020] [mpm_prefork:notice] [pid 10783] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Wed Oct 14 01:51:08.351704 2020] [core:notice] [pid 10783] AH00094: Command line: '/usr/sbin/apache2'
[Wed Oct 14 01:56:18.326185 2020] [php7:warn] [pid 11227] [client 7.1.1.10:59234] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0, referer: http://www.domaine.com.com/?admin
[Wed Oct 14 01:56:18.326274 2020] [php7:error] [pid 11227] [client 7.1.1.10:59234] PHP Fatal error: Unknown: Failed opening required '/var/www/domaine.com/info.php' (include_path='.:/usr/share/php') in Unknown on line 0, referer: http://domaine.com/?admin
[Wed Oct 14 02:32:52.164406 2020] [mpm_prefork:notice] [pid 10783] AH00169: caught SIGTERM, shutting down
[Wed Oct 14 02:33:01.010747 2020] [mpm_prefork:notice] [pid 12037] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Wed Oct 14 02:33:01.010853 2020] [core:notice] [pid 12037] AH00094: Command line: '/usr/sbin/apache2'
php ce plain de ne pas avoir les droit, mai je ne sai pas de quelle fichier il s'agis ?
dpkg -l | grep php
ii libapache2-mod-php7.3 7.3.19-1~deb10u1 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii php 2:7.3+69 all server-side, HTML-embedded scripting language (default)
ii php-common 2:69 all Common files for PHP packages
ii php-curl 2:7.3+69 all CURL module for PHP [default]
ii php-mysql 2:7.3+69 all MySQL module for PHP [default]
ii php-nrk-predis 1.0.0-1 amd64 Flexible and feature-complete PHP client library for the Redis key-value store
ii php-pclzip 2.8.2-4 all ZIP archive manager class for PHP
ii php-seclib 1.0.14-1 all implementations of an arbitrary-precision integer arithmetic library
ii php-xml 2:7.3+69 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
ii php7.3 7.3.19-1~deb10u1 all server-side, HTML-embedded scripting language (metapackage)
ii php7.3-cli 7.3.19-1~deb10u1 amd64 command-line interpreter for the PHP scripting language
ii php7.3-common 7.3.19-1~deb10u1 amd64 documentation, examples and common module for PHP
ii php7.3-curl 7.3.19-1~deb10u1 amd64 CURL module for PHP
ii php7.3-json 7.3.19-1~deb10u1 amd64 JSON module for PHP
ii php7.3-mysql 7.3.19-1~deb10u1 amd64 MySQL module for PHP
ii php7.3-opcache 7.3.19-1~deb10u1 amd64 Zend OpCache module for PHP
ii php7.3-readline 7.3.19-1~deb10u1 amd64 readline module for PHP
ii php7.3-xml 7.3.19-1~deb10u1 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
Cela coince donc quelque part. mais la doc sur le site officiel de rainloop stipule qu'il faut télécharger leur "installation" chose que je refuse de faire.
Désoler si cela paraît trivial, mai un petit coup de pouce est pas de refus.
Dernière modification par epiquantique (14-10-2020 22:00:49)