na gut, das sind aber ein paar zeilen...
zuerst der http-teil (Port 80) der problemlos funktioniert:
NameVirtualHost *:80
###### die drei Haupt-Directiven #######
<VirtualHost *:80>
DocumentRoot "D:/Pfad/domain1"
ServerName
www.domain1.de
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "D:/Pfad/domain2"
ServerName
www.domain2.de
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "D:/Pfad/domain3"
ServerName
www.domain3.de
</VirtualHost>
####### Domain - Weiterleitungen #######
<VirtualHost *:80>
ServerName domain1.de
ServerAlias
www.domain1a.de domain1a.de
ServerAlias
www.domain1b.de domain1b.de
Redirect /
http://www.domain1.de/
</VirtualHost>
<VirtualHost *:80>
ServerName domain2.de
ServerAlias
www.domain2a.de domain2a.de
ServerAlias
www.domain2b.de domain2b.de
Redirect /
http://www.domain2.de/
</VirtualHost>
<VirtualHost *:80>
ServerName domain3.de
ServerAlias
www.domain3a.de domain3a.de
ServerAlias
www.domain3b.de domain3b.de
Redirect /
http://www.domain3.de/
</VirtualHost>
jetzt der https-teil (Port 443) der nicht funktioniert:
NameVirtualHost *:443
###### die drei SSL Haupt-Directiven #######
<VirtualHost *:443>
DocumentRoot "D:/Pfad/domain1"
ServerName
www.domain1.de:443
ServerAdmin admin@localhost
ErrorLog logs/error.log
<IfModule log_config_module>
CustomLog logs/access.log combined
</IfModule>
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile conf/ssl.crt/ssl_normal.crt
SSLCACertificateFile conf/ssl.crt/ssl_sgc.crt
SSLCertificateKeyFile conf/ssl.key/server.key
<FilesMatch "\.(cgi|shtml|phtml|php|php5|php4|php3)$">
SSLOptions +StdEnvVars
</FilesMatch>
<IfModule setenvif_module>
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfModule>
<IfModule log_config_module>
CustomLog logs/ssl_request.log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</IfModule>
</VirtualHost>
<VirtualHost *:443>
DocumentRoot "D:/Pfad/domain2"
ServerName
www.domain2.de:443
ServerAdmin admin@localhost
ErrorLog logs/error.log
<IfModule log_config_module>
CustomLog logs/access.log combined
</IfModule>
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile conf/ssl.crt/ssl_normal.crt
SSLCACertificateFile conf/ssl.crt/ssl_sgc.crt
SSLCertificateKeyFile conf/ssl.key/server.key
<FilesMatch "\.(cgi|shtml|phtml|php|php5|php4|php3)$">
SSLOptions +StdEnvVars
</FilesMatch>
<IfModule setenvif_module>
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfModule>
<IfModule log_config_module>
CustomLog logs/ssl_request.log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</IfModule>
</VirtualHost>
<VirtualHost *:443>
DocumentRoot "D:/Pfad/domain3"
ServerName
www.domain3.de:443
ServerAdmin admin@localhost
ErrorLog logs/error.log
<IfModule log_config_module>
CustomLog logs/access.log combined
</IfModule>
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile conf/ssl.crt/ssl_normal.crt
SSLCACertificateFile conf/ssl.crt/ssl_sgc.crt
SSLCertificateKeyFile conf/ssl.key/server.key
<FilesMatch "\.(cgi|shtml|phtml|php|php5|php4|php3)$">
SSLOptions +StdEnvVars
</FilesMatch>
<IfModule setenvif_module>
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfModule>
<IfModule log_config_module>
CustomLog logs/ssl_request.log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</IfModule>
</VirtualHost>
####### SSL - Domain - Weiterleitungen #######
<VirtualHost *:443>
ServerName domain1.de:443
ServerAlias
www.domain1a.de:443 domain1a.de:443
ServerAlias
www.domain1b.de:443 domain1b.de:443
Redirect /
https://www.domain1.de/
</VirtualHost>
<VirtualHost *:443>
ServerName domain2.de:443
ServerAlias
www.domain2a.de:443 domain2a.de:443
ServerAlias
www.domain2b.de:443 domain2b.de:443
Redirect /
https://www.domain2.de/
</VirtualHost>
<VirtualHost *:443>
ServerName domain3.de:443
ServerAlias
www.domain3a.de:443 domain3a.de:443
ServerAlias
www.domain3b.de:443 domain3b.de:443
Redirect /
https://www.domain3.de/
</VirtualHost>
wenn ich jetzt z.B.
http://www.domain2b.de aufrufe, werde ich auf
http://www.domain2.de weitergeleitet. so solls sein.
wenn ich aber z. B.
https://www.domain2b.de aufrufe, werde ich nicht weitergeleitet. die domain bleibt einfach stehen.