ich hab nen vhost mit ssl für einen admin bereich angelegt:
https://admin.domain.tld
- Code: Select all
<VirtualHost ip.ip.ip.ip:443>
ServerName admin.domain.tld
ServerAlias admin.domain.tld
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.pem
SSLCertificateKeyFile /etc/apache2/ssl/3e33a425.0
SSLProtocol all
SSLCipherSuite HIGH:MEDIUM
ServerAdmin admin@domain.tld
SuexecUserGroup webadmin webadmin
DocumentRoot /var/www/admin-vhost-ssl/web
<Directory /var/www/admin-vhost-ssl/web/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/php-fcgi-scripts/default-vhost/
<Directory "/var/www/php-fcgi-scripts/default-vhost">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>
klappt soweit auch, das problem ist, dass ich diesen adminbereich auch mit jeder anderen domain auf dem server erreiche die keinen vhost ssl eintrag hat.
d.h. ich erreiche auch den adminbereich mit z.B. https://mail.domain.tld was natürlich nicht so gewollt ist.
jemand ne idee woran das liegt?