Zuletzt bearbeitet vor 6 Monaten
von Xineohp1506

Plesk

Version vom 9. Januar 2023, 15:49 Uhr von Xineohp1506 (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Wenn Plesk bei einer Domain oder SubDomain nicht php parsen will, hilft es folgendes in die vhost einzutragen. Der Auskommentierte Teil ist optional. <syntaxhighlight lang="ini">#ServerName www.domain.de:80 #ServerAdmin "dev@domain.de" DocumentRoot /srv/www/vhosts/domain.de/httpdocs #CustomLog /srv/www/vhosts/domain.de/statistics/logs/access_log plesklog #ErrorLog /srv/www/vhosts/domain.de/statistics/logs/error_log <IfModule mod_ssl.c> SSLE…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Wenn Plesk bei einer Domain oder SubDomain nicht php parsen will, hilft es folgendes in die vhost einzutragen. Der Auskommentierte Teil ist optional.

#ServerName  www.domain.de:80 
#ServerAdmin  "dev@domain.de" 
DocumentRoot /srv/www/vhosts/domain.de/httpdocs 
#CustomLog  /srv/www/vhosts/domain.de/statistics/logs/access_log plesklog 
#ErrorLog  /srv/www/vhosts/domain.de/statistics/logs/error_log 
<IfModule mod_ssl.c> 
    SSLEngine off 
</IfModule> 
<Directory  /srv/www/vhosts/domain.de/httpdocs> 
    <IfModule sapi_apache2.c> 
            php_admin_flag engine on 
    </IfModule> 
    <IfModule mod_php5.c> 
            php_admin_flag engine on 
    </IfModule> 
</Directory>