SSL仮想ホストをセットアップする適切な方法+ SSL以外のコピーを調べるのに問題があります。apache virtualhost SSL + non-SSL
私は今、このようにそれを持っている:
<VirtualHost myip:80>
plenty of directives here
</VirtualHost>
と
<VirtualHost myip:443>
same directives as above
</VirtualHost>
そして、それが正常に動作しますが、私はバーチャルホストのいずれかでディレクティブを編集するたびに、私はそれを行う必要がありますもう一方も同様です。清潔でエレガントなものは何ですか?
http://serverfault.com/questions/83669/apache2-with-ssl-do-i-have-to-copy-virtualhost-blocksとhttp://stackoverflow.com/questions/679383の複製/ do-i-have-to-duplicate-the-virtualhost-directives-for-port-80および443 –