KH: 17.1.2 (Build 1145)
frisch aufgesetzt, keine manuellen Modifikationen am System vorgenommen
Wenn ich in den Panel-Einstellungen >> Verhalten der webmail.* Subdomain von Weiterleitung auf Aufgerufen Domainnamen beibehalten ändere, verweigert der Indianer einen Neustart (Aufgerufen Domainnamen beibehalten (unsicher) habe ich jetzt nicht getestet).
Ausgabe von systemctl status apache2.service:
Code: Select all
Okt 09 14:42:01 server11.domain.tld systemd[1]: Starting The Apache HTTP Server...
Okt 09 14:42:01 server11.domain.tld apachectl[8884]: AH00526: Syntax error on line 38 of /etc/apache2/keyhelp/webmail.conf:
Okt 09 14:42:01 server11.domain.tld apachectl[8884]: Invalid command 'FastCgiExternalServer', perhaps misspelled or defined by a module not included in the server configuration
Okt 09 14:42:01 server11.domain.tld apachectl[8884]: Action 'start' failed.
Okt 09 14:42:01 server11.domain.tld apachectl[8884]: The Apache error log may have more information.
Okt 09 14:42:01 server11.domain.tld systemd[1]: apache2.service: Control process exited, code=exited status=1
Okt 09 14:42:01 server11.domain.tld systemd[1]: Failed to start The Apache HTTP Server.
Okt 09 14:42:01 server11.domain.tld systemd[1]: apache2.service: Unit entered failed state.
Okt 09 14:42:01 server11.domain.tld systemd[1]: apache2.service: Failed with result 'exit-code'.
bei Status Weiterleitung:
Code: Select all
#
# KeyHelp webserver config file for Apache 2.4
#
<VirtualHost *:80>
ServerName webmail
ServerAlias webmail.*
Redirect / https://server11.domain.tld/webmail/
</VirtualHost>
<VirtualHost *:443>
ServerName webmail
ServerAlias webmail.*
SSLEngine On
SSLCertificateFile /etc/ssl/keyhelp/webmail.pem
SSLCertificateChainFile /etc/ssl/keyhelp/webmail-ca.crt
Redirect / https://server11.domain.tld/webmail/
</VirtualHost>
Code: Select all
#
# KeyHelp webserver config file for Apache 2.4
#
<VirtualHost *:80>
ServerName webmail
ServerAlias webmail.*
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</IfModule>
</VirtualHost>
<VirtualHost *:443>
ServerName webmail
ServerAlias webmail.*
ServerAdmin hostmaster@server11.domain.tld
SuexecUserGroup "keyhelp" "keyhelp"
SSLEngine On
SSLCertificateFile /etc/ssl/keyhelp/webmail.pem
SSLCertificateChainFile /etc/ssl/keyhelp/webmail-ca.crt
UseCanonicalName Off
DocumentRoot /home/keyhelp/www/webmail
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/keyhelp.access.log combined
ErrorLog ${APACHE_LOG_DIR}/keyhelp.error.log
# php-fastcgi
<Directory "/home/keyhelp/www/cgi-bin">
Require all granted
Options FollowSymLinks
</Directory>
FastCgiExternalServer /home/keyhelp/www/cgi-bin/php5-fcgi -socket /var/run/apache2/keyhelppanel_phpfpm.socket -user keyhelp -group keyhelp -idle-timeout 120
Alias /php5-fastcgi /home/keyhelp/www/cgi-bin/php5-fcgi
<Directory "/home/keyhelp/www/webmail">
<FilesMatch "\.php$">
SetHandler php5-fastcgi
Action php5-fastcgi /php5-fastcgi
Options +ExecCGI
</FilesMatch>
Require all granted
AllowOverride All
</Directory>
</VirtualHost>
P.S.:
Im Adminpanel hat sich der Fehlerteufel eingeschlichen

Dort heißt es:
undAufgerufen Domainnamen beibehalten
Dort sollte es in beiden Fällen "Aufgerufenen" heißen. Das aber nur am Rande.Aufgerufen Domainnamen beibehalten (unsicher)
