Hallo
ich habe einen seltsamen Fehler.
Folgendes Szenario :
domain1.org hat ein eigenes SSL Zertifikat (selbst signiert) und ein paar Subdomains
domain2.cc hat ein eigenes SSL Zertifikat (selbst signiert) und ein paar Subdomains
folgendes passiert :
- http://www.domain1.org -> Webspace von domain1.org
- https://www.domain1.org -> Webspace von domain1.org
- http://www.domain2.cc -> Webspace von domain2.cc
- https://www.domain2.cc -> Webspace von domain1.org !!!!!!!!!!!
- https://domain2.cc -> Webspace von domain2.cc
Ich kann mir den Fehler leider nicht erklären.
Anbei beides betreffenden Files auf /etc/apache2/sites-enabled
domain1.org
# _ _ ___ __ _ (R)
# | | (_)_ _____ / __|___ _ _ / _(_)__ _
# | |__| \ V / -_) (__/ _ \ ' \| _| / _` |
# |____|_|\_/\___|\___\___/_||_|_| |_\__, |
# |___/
# Copyright (c) 2009-2013 Keppler IT GmbH.
# ----------------------------------------------------------------------------
# Automatically created by LiveConfig - do not modify!
# Created at: 2013-08-06 08:14:37 CEST
# ----------------------------------------------------------------------------
# IP group: 'default'
<VirtualHost 84.201.xxx.xxx:80 [2001:1608:xxx:xxx::3]:80>
ServerName mi.domain1.org
DocumentRoot "/var/www/domain1/htdocs/mi"
<Directory "/var/www/domain1/htdocs/mi">
Options SymLinksIfOwnerMatch MultiViews
AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,MultiViews,FollowSymLinks,SymLinksIfOwnerMatch
Order allow,deny
allow from all
</Directory>
<Directory "/var/www/domain1/htdocs/cgi-bin">
Order allow,deny
deny from all
</Directory>
# PHP configuration for this subscription: FastCGI
<IfModule mod_fcgid.c>
<IfModule mod_php5.c>
php_admin_flag engine off
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler None
</FilesMatch>
</IfModule>
<IfModule mod_suexec.c>
SuexecUserGroup domain1 domain1
</IfModule>
<FilesMatch "\.php5?$">
Options +ExecCGI
SetHandler fcgid-script
</FilesMatch>
FCGIWrapper /var/www/domain1/conf/php5/php-fcgi-starter .php
FCGIWrapper /var/www/domain1/conf/php5/php-fcgi-starter .php5
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
</IfModule>
</VirtualHost>
<VirtualHost 84.201.xxx.xxx:80 [2001:1608:xxx:xxx::3]:80>
ServerName domain1.org
ServerAlias www.domain1.org
DocumentRoot "/var/www/domain1/htdocs/"
<Directory "/var/www/domain1/htdocs/">
Options SymLinksIfOwnerMatch MultiViews
AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,MultiViews,FollowSymLinks,SymLinksIfOwnerMatch
Order allow,deny
allow from all
</Directory>
<Directory "/var/www/domain1/htdocs/cgi-bin">
Order allow,deny
deny from all
</Directory>
# PHP configuration for this subscription: FastCGI
<IfModule mod_fcgid.c>
<IfModule mod_php5.c>
php_admin_flag engine off
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler None
</FilesMatch>
</IfModule>
<IfModule mod_suexec.c>
SuexecUserGroup domain1 domain1
</IfModule>
<FilesMatch "\.php5?$">
Options +ExecCGI
SetHandler fcgid-script
</FilesMatch>
FCGIWrapper /var/www/domain1/conf/php5/php-fcgi-starter .php
FCGIWrapper /var/www/domain1/conf/php5/php-fcgi-starter .php5
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
<LocationMatch "^/$">
ErrorDocument 403 /.errorFiles/coming-soon.html
ErrorDocument 404 /.errorFiles/coming-soon.html
</LocationMatch>
</IfModule>
</VirtualHost>
<VirtualHost 84.201.xxx.xxx:80 [2001:1608:xxx:xxx::3]:80>
ServerName mail.domain1.org
ServerAlias webmail.domain1.org
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mail\.domain1\.org$ [NC,OR]
RewriteCond %{HTTP_HOST} ^webmail\.domain1\.org$ [NC]
RewriteRule ^/.* http://webmail.whost.cc [R=301,L]
</IfModule>
</VirtualHost>
# IP group: 'default'
<IfModule mod_ssl.c>
<VirtualHost 84.201.xxx.xxx:443 [2001:1608:xxx:xxx::3]:443>
ServerName domain1.org
SSLEngine On
SSLCertificateFile /etc/ssl/certs/b8e758c8de6ea8c9.crt
SSLCertificateKeyFile /etc/ssl/private/b8e758c8de6ea8c9.key
DocumentRoot "/var/www/domain1/htdocs/"
<Directory "/var/www/domain1/htdocs/">
Options SymLinksIfOwnerMatch MultiViews
AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,MultiViews,FollowSymLinks,SymLinksIfOwnerMatch
Order allow,deny
allow from all
</Directory>
<Directory "/var/www/domain1/htdocs/cgi-bin">
Order allow,deny
deny from all
</Directory>
# PHP configuration for this subscription: FastCGI
<IfModule mod_fcgid.c>
<IfModule mod_php5.c>
php_admin_flag engine off
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler None
</FilesMatch>
</IfModule>
<IfModule mod_suexec.c>
SuexecUserGroup domain1 domain1
</IfModule>
<FilesMatch "\.php5?$">
Options +ExecCGI
SetHandler fcgid-script
</FilesMatch>
FCGIWrapper /var/www/domain1/conf/php5/php-fcgi-starter .php
FCGIWrapper /var/www/domain1/conf/php5/php-fcgi-starter .php5
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
<LocationMatch "^/$">
ErrorDocument 403 /.errorFiles/coming-soon.html
ErrorDocument 404 /.errorFiles/coming-soon.html
</LocationMatch>
</IfModule>
</VirtualHost>
</IfModule>
# IP group: 'default'
# IP group: 'default'
# <EOF>-----------------------------------------------------------------------
Alles anzeigen
domain2.cc
# _ _ ___ __ _ (R)
# | | (_)_ _____ / __|___ _ _ / _(_)__ _
# | |__| \ V / -_) (__/ _ \ ' \| _| / _` |
# |____|_|\_/\___|\___\___/_||_|_| |_\__, |
# |___/
# Copyright (c) 2009-2013 Keppler IT GmbH.
# ----------------------------------------------------------------------------
# Automatically created by LiveConfig - do not modify!
# Created at: 2013-08-06 08:16:21 CEST
# ----------------------------------------------------------------------------
# IP group: 'default'
<VirtualHost 84.201.xxx.xxx:80 [2001:1608:xxx:xxx::3]:80>
ServerName domain2.cc
ServerAlias www.domain2.cc
DocumentRoot "/var/www/domain2/htdocs/"
<Directory "/var/www/domain2/htdocs/">
Options SymLinksIfOwnerMatch MultiViews
AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,MultiViews,FollowSymLinks,SymLinksIfOwnerMatch
Order allow,deny
allow from all
</Directory>
<Directory "/var/www/domain2/htdocs/cgi-bin">
Order allow,deny
deny from all
</Directory>
# PHP configuration for this subscription: suPHP
<IfModule mod_suphp.c>
<IfModule mod_php5.c>
php_admin_flag engine off
<FilesMatch "\.ph(p3?|tml)$">
SetHandler application/x-httpd-suphp
</FilesMatch>
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler application/x-httpd-suphp
</FilesMatch>
</IfModule>
suPHP_Engine on
suPHP_ConfigPath /var/www/domain2/conf/php5/
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
<LocationMatch "^/$">
ErrorDocument 403 /.errorFiles/coming-soon.html
ErrorDocument 404 /.errorFiles/coming-soon.html
</LocationMatch>
</IfModule>
</VirtualHost>
<VirtualHost 84.201.xxx.xxx:80 [2001:1608:xxx:xxx::3]:80>
ServerName ts.domain2.cc
DocumentRoot "/var/www/domain2/htdocs/ts"
<Directory "/var/www/domain2/htdocs/ts">
Options SymLinksIfOwnerMatch MultiViews
AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,MultiViews,FollowSymLinks,SymLinksIfOwnerMatch
Order allow,deny
allow from all
</Directory>
<Directory "/var/www/domain2/htdocs/cgi-bin">
Order allow,deny
deny from all
</Directory>
# PHP configuration for this subscription: suPHP
<IfModule mod_suphp.c>
<IfModule mod_php5.c>
php_admin_flag engine off
<FilesMatch "\.ph(p3?|tml)$">
SetHandler application/x-httpd-suphp
</FilesMatch>
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler application/x-httpd-suphp
</FilesMatch>
</IfModule>
suPHP_Engine on
suPHP_ConfigPath /var/www/domain2/conf/php5/
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
</IfModule>
</VirtualHost>
<VirtualHost 84.201.xxx.xxx:80 [2001:1608:xxx:xxx::3]:80>
ServerName mc.domain2.cc
DocumentRoot "/var/www/domain2/htdocs/mc"
<Directory "/var/www/domain2/htdocs/mc">
Options SymLinksIfOwnerMatch MultiViews
AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,MultiViews,FollowSymLinks,SymLinksIfOwnerMatch
Order allow,deny
allow from all
</Directory>
<Directory "/var/www/domain2/htdocs/cgi-bin">
Order allow,deny
deny from all
</Directory>
# PHP configuration for this subscription: suPHP
<IfModule mod_suphp.c>
<IfModule mod_php5.c>
php_admin_flag engine off
<FilesMatch "\.ph(p3?|tml)$">
SetHandler application/x-httpd-suphp
</FilesMatch>
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler application/x-httpd-suphp
</FilesMatch>
</IfModule>
suPHP_Engine on
suPHP_ConfigPath /var/www/domain2/conf/php5/
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
</IfModule>
</VirtualHost>
<VirtualHost 84.201.xxx.xxx:80 [2001:1608:xxx:xxx::3]:80>
ServerName webmail.domain2.cc
DocumentRoot "/var/www/domain2/htdocs/webmail"
<Directory "/var/www/domain2/htdocs/webmail">
Options SymLinksIfOwnerMatch MultiViews
AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,MultiViews,FollowSymLinks,SymLinksIfOwnerMatch
Order allow,deny
allow from all
</Directory>
<Directory "/var/www/domain2/htdocs/cgi-bin">
Order allow,deny
deny from all
</Directory>
# PHP configuration for this subscription: suPHP
<IfModule mod_suphp.c>
<IfModule mod_php5.c>
php_admin_flag engine off
<FilesMatch "\.ph(p3?|tml)$">
SetHandler application/x-httpd-suphp
</FilesMatch>
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler application/x-httpd-suphp
</FilesMatch>
</IfModule>
suPHP_Engine on
suPHP_ConfigPath /var/www/domain2/conf/php5/
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
</IfModule>
</VirtualHost>
<VirtualHost 84.201.xxx.xxx:80 [2001:1608:xxx:xxx::3]:80>
ServerName dl.domain2.cc
DocumentRoot "/var/www/domain2/htdocs/dl"
<Directory "/var/www/domain2/htdocs/dl">
Options SymLinksIfOwnerMatch MultiViews
AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,MultiViews,FollowSymLinks,SymLinksIfOwnerMatch
Order allow,deny
allow from all
</Directory>
<Directory "/var/www/domain2/htdocs/cgi-bin">
Order allow,deny
deny from all
</Directory>
# PHP configuration for this subscription: suPHP
<IfModule mod_suphp.c>
<IfModule mod_php5.c>
php_admin_flag engine off
<FilesMatch "\.ph(p3?|tml)$">
SetHandler application/x-httpd-suphp
</FilesMatch>
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler application/x-httpd-suphp
</FilesMatch>
</IfModule>
suPHP_Engine on
suPHP_ConfigPath /var/www/domain2/conf/php5/
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
</IfModule>
</VirtualHost>
<VirtualHost 84.201.xxx.xxx:80 [2001:1608:xxx:xxx::3]:80>
ServerName mail.domain2.cc
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mail\.domain2\.cc$ [NC]
RewriteRule ^/.* http://webmail.domain2.cc [R=301,L]
</IfModule>
</VirtualHost>
# IP group: 'default'
<IfModule mod_ssl.c>
<VirtualHost 84.201.xxx.xxx:443 [2001:1608:xxx:xxx::3]:443>
ServerName domain2.cc
SSLEngine On
SSLCertificateFile /etc/ssl/certs/09bac5166b2ddf91.crt
SSLCertificateKeyFile /etc/ssl/private/09bac5166b2ddf91.key
DocumentRoot "/var/www/domain2/htdocs/"
<Directory "/var/www/domain2/htdocs/">
Options SymLinksIfOwnerMatch MultiViews
AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,MultiViews,FollowSymLinks,SymLinksIfOwnerMatch
Order allow,deny
allow from all
</Directory>
<Directory "/var/www/domain2/htdocs/cgi-bin">
Order allow,deny
deny from all
</Directory>
# PHP configuration for this subscription: suPHP
<IfModule mod_suphp.c>
<IfModule mod_php5.c>
php_admin_flag engine off
<FilesMatch "\.ph(p3?|tml)$">
SetHandler application/x-httpd-suphp
</FilesMatch>
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler application/x-httpd-suphp
</FilesMatch>
</IfModule>
suPHP_Engine on
suPHP_ConfigPath /var/www/domain2/conf/php5/
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
<LocationMatch "^/$">
ErrorDocument 403 /.errorFiles/coming-soon.html
ErrorDocument 404 /.errorFiles/coming-soon.html
</LocationMatch>
</IfModule>
</VirtualHost>
</IfModule>
# IP group: 'default'
# IP group: 'default'
# <EOF>-----------------------------------------------------------------------
Alles anzeigen
Wäre super wenn mir bei dem Problem jemand helfen könnte.
kk
Administrativer Zugang per SSH und zu Liveconfig wären kein Problem wenn dies zur Fehlerbehebung beiträgt.
Vielen Dank
Grüße
Adrian