Falsche Domainpfade nach Update auf Suze 10.3 und Plesk 8.6

gingi

New Member
Habe auf meinem 1&1 Rootserver auf Suze 10.3 und Plesk 8.6 ein Update gemacht.

Problem: Nach dem Einspielen der Backupdateien wurde im Verzeicihnis srv/www/vhosts/, wo auch richtigerweise alle Domains liegen zusätzlich das Verzeichnis "default/htdocs/" angelegt, wo auch eine Baustellen index.html liegt. Egal welche Domain ich jetzt aufrufe, wird immer diese index.html aus dem default-Verzeichnis geholt und nicht auf die eigentliche Domain zugegriffen.

Im Plesk Control Panel steht bei jeder Domain, dass sie kein Hosting haben. Kann auf den Dateimanger nicht zugreifen, da er inaktiv ist. Vieleicht kann mir jemand weiter helfen.
 
Hallo!
Wie wurde denn das Backup der Webpräsenzen durchgeführt? Über Plesk oder manuell?

mfG
Thorsten
 
Servus!

Server wurde neu initalisiert, alles über Shell/Putty gemacht.

Ich kopiere hier mal die "xxxxx-httpd.conf" rein.
Code:
NameVirtualHost xx.xxx.x.xx:80
NameVirtualHost xx.xxx.x.xx:443
ServerName sxxxxxx.onlinehome-server.info
ServerAdmin [EMAIL="[email protected]"][email protected][/EMAIL]
 
DocumentRoot /srv/www/vhosts/default/htdocs
 
<IfModule mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>
<IfModule !mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>
TraceEnable off
 
<Directory "/srv/www/vhosts">
    AllowOverride All
    Options SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
    <IfModule sapi_apache2.c>
    php_admin_flag engine off
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_flag engine off
    </IfModule>
</Directory>
 
<Directory "/usr/lib/mailman">
    AllowOverride All
    Options SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
    <IfModule sapi_apache2.c>
    php_admin_flag engine off
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_flag engine off
    </IfModule>
</Directory>
 
<IfModule mod_userdir.c>
    UserDir disabled
</IfModule>
<IfModule mod_jk.c>
    JkWorkersFile /etc/apache2/workers.properties
    JkLogFile /var/log/apache2/mod_jk.log
    JkLogLevel info
</IfModule>
 
<VirtualHost \
            xx.xxx.x.xx:80 \ >
    ServerName default
    UseCanonicalName Off
    DocumentRoot /srv/www/vhosts/default/htdocs
    ScriptAlias /cgi-bin/ "/srv/www/vhosts/default/cgi-bin/"
    <IfModule mod_ssl.c>
        SSLEngine off
    </IfModule>
    <Directory "/srv/www/vhosts/default/cgi-bin/">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
    <Directory /srv/www/vhosts/default/htdocs>
    <IfModule sapi_apache2.c>
        php_admin_flag engine on
        php_admin_flag safe_mode on
        php_admin_value open_basedir "/srv/www/vhosts/default/htdocs:/tmp"
    </IfModule>
    <IfModule mod_php5.c>
        php_admin_flag engine on
        php_admin_flag safe_mode on
        php_admin_value open_basedir "/srv/www/vhosts/default/htdocs:/tmp"
    </IfModule>
    </Directory>
</VirtualHost>
 
 
<IfModule mod_ssl.c>
 
<VirtualHost xx.xxx.x.xx:443 >
    ServerName default-87-106-7-14
    UseCanonicalName Off
    DocumentRoot /srv/www/vhosts/default/httpsdocs
    ScriptAlias /cgi-bin/ "/srv/www/vhosts/default/cgi-bin/"
    SSLEngine on
    SSLVerifyClient none
    SSLCertificateFile /usr/local/psa/var/certificates/certmIs5736
    <Directory "/srv/www/vhosts/default/cgi-bin/">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
    <Directory /srv/www/vhosts/default/httpsdocs>
        SSLRequireSSL
    </Directory>
</VirtualHost>
 
</IfModule>
 
<VirtualHost \
            xx.xxx.x.xx:80 \
            >
    DocumentRoot /usr/share/psa-horde/
    Alias /horde/ /usr/share/psa-horde/
    Alias /imp/ /usr/share/psa-horde/imp/
    ServerName webmail
    ServerAlias webmail.*
    UseCanonicalName Off
    <Directory /usr/share/psa-horde>
        <IfModule sapi_apache2.c>
            php_admin_flag engine on
            php_admin_flag magic_quotes_gpc off
            php_admin_flag safe_mode off
            php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc:/usr/share/psa-pear"
            php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-pear:."
        </IfModule>
        <IfModule mod_php5.c>
            php_admin_flag engine on
            php_admin_flag magic_quotes_gpc off
            php_admin_flag safe_mode off
            php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc:/usr/share/psa-pear"
            php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/lib:/usr/share/psa-pear:."
        </IfModule>
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>
 
 
<IfModule mod_ssl.c>
 
<VirtualHost \
            xx.xxx.x.xx:443 \
            >
    DocumentRoot /usr/share/psa-horde/
    Alias /horde/ /usr/share/psa-horde/
    Alias /imp/ /usr/share/psa-horde/imp/
    ServerName webmail
    ServerAlias webmail.*
    UseCanonicalName Off
    SSLEngine on
    SSLVerifyClient none
    SSLCertificateFile /etc/apache2/httpd.pem
    <Directory /usr/share/psa-horde>
        <IfModule sapi_apache2.c>
            php_admin_flag engine on
            php_admin_flag magic_quotes_gpc off
            php_admin_flag safe_mode off
            php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc:/usr/share/psa-pear"
            php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-pear:."
        </IfModule>
        <IfModule mod_php5.c>
            php_admin_flag engine on
            php_admin_flag magic_quotes_gpc off
            php_admin_flag safe_mode off
            php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc:/usr/share/psa-pear"
            php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/lib:/usr/share/psa-pear:."
        </IfModule>
        SSLRequireSSL
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>
 
 
</IfModule>
 
<VirtualHost \
            xx.xxx.x.xx:80 \
            >
    DocumentRoot /srv/www/vhosts/default/htdocs
    ServerName lists
    ServerAlias lists.*
    UseCanonicalName Off
    ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
    Alias /icons/ /usr/lib/mailman/icons/
    Alias /pipermail/ /var/lib/mailman/archives/public/
    <Directory /var/lib/mailman/archives/>
        Options FollowSymLinks
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>
 
 
<IfModule mod_ssl.c>
 
<VirtualHost \
            xx.xxx.x.xx:443 \
            >
    DocumentRoot /srv/www/vhosts/default/httpsdocs
    ServerName lists
    ServerAlias lists.*
    UseCanonicalName Off
    ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
    Alias /icons/ /usr/lib/mailman/icons/
    Alias /pipermail/ /var/lib/mailman/archives/public/
    <Directory /var/lib/mailman/archives/>
        Options FollowSymLinks
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>





DocumentRoot /srv/www/vhosts/default/htdocs zeigt klar den falschen Pfad, ich weiß jedoch nicht gneau, was ich hier alles ändern kann. Danke für die Hilfe
 
Last edited by a moderator:
Hallo!
Das ist leider nur ein Teil der Apache Konfiguration. Am Ende findest du normalerweise etliche Include Anweisungen. Hier werden erst die Konfigurationsdateien der einzelnen Webpräsenzen geladen:
Code:
Include /srv/www/vhosts/domain.tld/conf/httpd.include
Und in diesen Dateien werden Dinge wie Servername und Document Root festgelegt.

mfG
Thorsten
 
Das Problem ist, dass in Plesk bei allen Domains - Domain hat kein Hosting - steht. Gehe ich in Plesk auf eine Domain, ist unter "Hosting" nur der "Setup-Button" aktiv. Darum stehen in der Apache Konfiguration ganz unten wahrscheinlich keine

Include /srv/www/vhosts/domain.tld/conf/httpd.include

Per WinSCP sehe ich, dass alle Domains im richtigen Verzeichnis unter /srv/www/vhosts/domains.de liegen.

Irgendwie sind die ganzen Domains nicht richtig includiert in Plesk, habe ich das Gefühl.

Ich habe jetzt zum Test mal unter Setup ein physikalisches Hosting für eine Domain angelegt und eine Seite neu in das Verzeichnis über FTP hochgeladen. Jetzt sehe ich auch in Plesk im Dateimanger der Domain alle hochgeladenen Dateien und diese Domain steht jetzt auch in der Apache Konfiguration wie im Eingang erwähnt ganz unten da.

Zum Unterschied der anderen Domain wo die Baustellenseite aus dem falschen Verzeichnis geholt wird, kommt hier jetzt eine Error 500 mit

"Die Anfrage kann nicht beantwortet werden, da im Server ein interner Fehler aufgetreten ist. Der Server ist entweder überlastet oder ein Fehler in einem CGI-Skript ist aufgetreten."

Vielleicht eine Idee?
 
Back
Top