I have an apache server with 3 virtual host (all DNS work already done):
http://www1.example.com --> listens on port 80 http://www2.example.com --> listens on port 80 with required user authentication https://wwwsecure.example.com --> listens on port 443 Everyone with different DocumentRoot. Everything working with "<VirtualHost>" directive I want that if someone types: http://wwwsecure.example.com (--> request to port 80) the client do not receive any answer (like "page not found"). By now, the client receives the first virtual host (http://www1.example.com). And viceversa, if someone types: https://www1.example.com (--> request to port 443) or https://www2.example.com I would like the client do not receive any answer. Is this possible? Thanks. |