我使用Apache 2 Debian的7將特定子域重寫爲基於SSL?
我安裝了一個在線工具,以讓我們說:
tool.myurl.net
我有一個通配符SSL證書:
*.myurl.net
我還配置Apache中的virtualhost
使用ServerAlias
來收聽tool.anotherurl.com
。
但我沒有該URL的有效SSL證書。
所以我需要一個重寫規則,重定向http://tool.myurl.net
到httpS://tool.myurl.net
但不是當人們訪問http://tool.anotherurl.com
時。
這可能嗎?
澄清你的問題吧。 – anubhava