问题描述:

I have the same problem that in this question

How do I block someone else's domain pointing to my website?

But only in SSL conections with https.

I used the solution in the url but with 443 port

<VirtualHost *:443>

ServerName catchall

<Location />

Order allow,deny

Deny from all

</Location>

</VirtualHost>

<VirtualHost *:443>

ServerName allowed.com

<Location />

AllowOverride All

Order allow,deny

allow from all

</Location>

</VirtualHost>

But doesn´t works for me.

相关阅读:
Top