ISPconfig-URL zeigt den Standardinhalt von Apache

482
adrianTNT

Ich habe dieses Problem bei wenigen Benutzern gesehen, aber keine Lösung gefunden. Ich starte Centos 7 und installierte ISPconfig, indem ich es herunterlade und dann ausführte

php install.php

Es hat einige Dinge wie ssl, apache usw. konfiguriert, aber einige Schritte sind fehlgeschlagen (wie zum Beispiel einige Apache ssl), und ich musste php install.phpeinige Male neu starten, um fehlende Abhängigkeiten zu installieren.

Ich setze ISPconfig ein port 81und setze es, um ssl url zu verwenden.

Problem: Beim Öffnen https://192.168.1.x:81bekomme ich standardmäßig Apache-Inhalt from /var/www/htmlund nicht die ISPconfig-Schnittstelle/var/www/ispconfig/

Andere erwähnten, dass es einen vhost-Konflikt geben könnte, aber ich glaube nicht, weil ich nach :81inside- /etc/httpd/Ordner gesucht habe und es nur in einer Datei finden konnte: /etc/httpd/conf/sites-available/ispconfig.vhostWenn ich den Port dort in etwas ähnliches ändere 83, beginnt er zu reagieren Neuer Port und reagiert nicht mehr auf alte 81. Dies lässt mich vermuten, dass es keine mehrfachen vhosts / Konflikte gibt.

Was kann ich probieren?

###################################################### # This virtual host contains the configuration # for the ISPConfig controlpanel ######################################################  Listen 81 NameVirtualHost *:81  <VirtualHost _default_:81> ServerAdmin webmaster@localhost  <Directory /var/www/ispconfig/> <FilesMatch "\.ph(p3?|tml)$"> SetHandler None </FilesMatch> </Directory> <Directory /usr/local/ispconfig/interface/web/> <FilesMatch "\.ph(p3?|tml)$"> SetHandler None </FilesMatch> </Directory>  <IfModule mod_fcgid.c> DocumentRoot /var/www/ispconfig/ SuexecUserGroup ispconfig ispconfig <Directory /var/www/ispconfig/> Options -Indexes +FollowSymLinks +MultiViews +ExecCGI AllowOverride AuthConfig Indexes Limit Options FileInfo <FilesMatch "\.php$"> SetHandler fcgid-script </FilesMatch> FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php Require all granted </Directory> IPCCommTimeout 7200 MaxRequestLen 15728640 </IfModule>  <IfModule mpm_itk_module> DocumentRoot /usr/local/ispconfig/interface/web/ AssignUserId ispconfig ispconfig AddType application/x-httpd-php .php <Directory /usr/local/ispconfig/interface/web> # php_admin_value open_basedir "/usr/local/ispconfig/interface:/usr/share:/tmp" Options +FollowSymLinks AllowOverride None Require all granted php_value magic_quotes_gpc 0 </Directory> </IfModule>  # ErrorLog /var/log/apache2/error.log # CustomLog /var/log/apache2/access.log combined ServerSignature Off  <IfModule mod_security2.c> SecRuleEngine Off </IfModule>  # SSL Configuration SSLEngine On SSLProtocol All -SSLv3 SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key #SSLCACertificateFile /usr/local/ispconfig/interface/ssl/ispserver.bundle  SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS SSLHonorCipherOrder On  <IfModule mod_headers.c> Header always add Strict-Transport-Security "max-age=15768000" RequestHeader unset Proxy early </IfModule>  SSLUseStapling On SSLStaplingResponderTimeout 5 SSLStaplingReturnResponderErrors Off </VirtualHost>  <IfModule mod_ssl.c> SSLStaplingCache shmcb:/var/run/ocsp(128000) </IfModule>  <Directory /var/www/php-cgi-scripts> AllowOverride None Require all denied </Directory>  <Directory /var/www/php-fcgi-scripts> AllowOverride None Require all denied </Directory> 
0

1 Antwort auf die Frage

1
adrianTNT

Danke an rakib_buet vom webhostingtalk Forum, ich habe es behoben durch ...

yum install mod_fcgid service httpd restart 

Sieht so aus, als ob mod_fcgid nicht installiert wurde und die Apache-Konfigurationsdateien für ispconfig basierend darauf Anweisungen enthalten <IfModule mod_fcgid.c>...</IfModule>, die möglicherweise mit besseren ISPconfig-Vorlagen für diese Dateien behoben werden können.