View Single Post
Old 10th April 2012, 15:34
NdK NdK is offline
Join Date: Jul 2009
Location: Bologna, ITA
Posts: 41
Thanks: 1
Thanked 3 Times in 1 Post
Default Simplify config of vhosts

When you have both http and https for the same site, great part of the config is duplicated, while it would be sufficient to save the "core" definition in a file then do:
<VirtualHost *:80>
Include /.../vhost.include
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile ...
Include /.../vhost.include

Reply With Quote
Sponsored Links