Ich versuche, ein Problem mit Roundcube zu lösen. Am Montag habe ich den Server aktualisiert und php 7.1.5 (Debian 8 mit ISPConfig) manuell installiert: https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/. Es scheint, dass PHP und alles andere außer Roundcube Webmail funktioniert.Linux Update roundcube hört auf zu arbeiten und poiting zu squirrelmail
Benutzer begannen sich zu beschweren, dass sie nicht auf Roccube Webseite mit Fehler zugreifen können: ERROR: Config file "config/config.php" not found. You need to configure SquirrelMail before you can use it.
Wie was? Ich benutze kein Squirrelmail. Was ich herausfand, war, dass es in apache2/conf-enabled keine config-Datei für roundcube gab, also erstellte ich eine andere mit alias
poiting to /usr/share/roundcube
.
Config-Datei /etc/apache2/conf-enabled/roundcube.conf
Alias /roundcube /usr/share/roundcube
Alias /webmail /usr/share/roundcube
<Directory /usr/share/roundcube>
Options +FollowSymLinks
# AddDefaultCharset UTF-8
AddType text/x-component .htc
<IfModule mod_php5.c>
AddType application/x-httpd-php .php
php_flag display_errors Off
php_flag log_errors On
# php_value error_log logs/errors
php_value upload_max_filesize 10M
php_value post_max_size 12M
php_value memory_limit 64M
php_flag zlib.output_compression Off
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
php_flag zend.ze1_compatibility_mode Off
php_flag suhosin.session.encrypt Off
#php_value session.cookie_path/
php_flag session.auto_start Off
php_value session.gc_maxlifetime 21600
php_value session.gc_divisor 500
php_value session.gc_probability 1
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico
# security rules:
# - deny access to files not containing a dot or starting with a dot
# in all locations except installer directory
RewriteRule ^(?!installer)(\.?[^\.]+)$ - [F]
# - deny access to some locations
RewriteRule ^/?(\.git|\.tx|SQL|bin|config|logs|temp|tests|program\/(include|lib|localization|steps)) - [F]
# - deny access to some documentation files
RewriteRule /?(README\.md|composer\.json-dist|composer\.json|package\.xml)$ - [F]
</IfModule>
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month"
</IfModule>
FileETag MTime Size
<IfModule mod_autoindex.c>
Options -Indexes
</ifModule>
AllowOverride None
Require all granted
</Directory>
<Directory /usr/share/roundcube/plugins/enigma/home>
Options -FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share/roundcube/config>
Options -FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share/roundcube/temp>
Options -FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share/roundcube/logs>
Options -FollowSymLinks
AllowOverride None
Require all denied
</Directory>
Wenn ich falsch alias eingeben, erhalte ich 404 sor alias arbeitet in dieses Verzeichnis poiting, aber dann .. Huh. Außerdem winf ich einen weiteren Rundwürfelordner im Rundcube-Ordner/usr/share/roundcube/roundcube mit genau dem gleichen Code wie im Elternteil mit passender Zeit zu Linux update/php installation.
IMAP funktioniert. Just Rouncube Teil ist durcheinander.
Jeder Rat würde geschätzt werden. Danke
Guter Punkt. Ja, ich habe auf PHP 7 aktualisiert. Das muss ich später neu schreiben. Ich habe das Problem gelöst. Siehe meinen letzten Post (ich habe gerade geschrieben). – user2014521