title: Do I have to duplicate the Virtualhost directives for port 80 and 443?
body: <p>I have a long and intricate list of &lt;VirtualHost&gt; directives, and I have to duplicate them into separate &lt;VirtualHost&gt; groups for ports 80 and 443 because I'm using SSL. Whenever I update my mod_rewrite rules I have to remember to do it in both places or else I'll break my app... this duplication is asking for trouble. Is there a way to combine or alias these -- the only difference between the two is that the port 443 version contains the SSLEngine, SSLCertificateFile and the like.</p>
  
  <p>My &lt;Virtualhost&gt; contains many mod_rewrite rules, LocationMatch rules, CGI directives, etc.</p>
  
  <p>Also, I can't use .htaccess files.</p>