Hallo hallo,
mein erster Thread und gleich ein Problem.
Auf meinem vServer habe ich den roundcube webmailer eingerichtet. Dieser soll NUR über die Subdomain webmail.mydomain.tld via SSL erreichbar sein.
Nun ergibt sich folgendes Problem, beim Aufruf von "https://mydomain.tld" und "https://www.mydomain.tld" gelangt man ebenfalls auf die Roundcube-Oberfläche.
Der Apache läuft auf einem Debian Lenny ohne SysCP, Confixx oder sonstigen Helferlein.
Vielleicht kann mir ja jemand helfen. Danke im Voraus.
Folgende config habe ich verwendet:
Code
NameVirtualHost myip:80
NameVirtualHost myip:443
###---DEFAULT FOR DOMAIN---###
<VirtualHost myip:80>
ServerName mydomain.tld
ServerAlias www.mydomain.tld
DocumentRoot "/var/www/public/mydomain.tld/site"
<Directory "/var/www/public/mydomain.tld/site">
Options FollowSymLinks
AllowOverride none
# Controls who can get stuff from this server.
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
###---VHOST WEBMAIL---###
<IfModule ssl_module>
<VirtualHost myip:443>
ServerName webmail.mydomain.tld
ErrorLog /var/log/apache2/ssl_error_log
SSLEngine on
SSLProtocol all
SSLCipherSuite HIGH:MEDIUM
SSLCertificateFile /etc/apache2/myssl/server.cert.crt
SSLCertificateKeyFile /etc/apache2/myssl/server.cert.key
DocumentRoot "/var/www/public/mydomain.tld/roundcube"
<Directory "/var/www/public/mydomain.tld/roundcube">
Options FollowSymLinks
AllowOverride All
# Controls who can get stuff from this server.
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
</IfModule>
Alles anzeigen