In an effort to allow Apache on our Evergreen server to serve up other virtual hosts, I&#39;ve done some editing to a few files (/etc/apache2/eg_vhost.conf, /etc/apache2/httpd.conf, and /etc/apache2/sites-available/eg.conf).<br>
<br>I&#39;ve moved (almost) everything in eg.conf that is not within &lt;virtualhost&gt; tags into eg_vhost.conf (which gets included by eg.conf).  The PerlRequire and PerlChildInitHandler stuff needed to go in httpd.conf... but it seems to work :-)<br>
<br>One caveat: eg.conf must (I think) be the first virtual host loaded; you could either rename eg.conf to something like 00-eg.conf, or perhaps put the NameVirtualHost lines into httpd.conf as well (though I haven&#39;t tried that).<br>
<br>I&#39;ve attached diffs (note that you&#39;ll have to edit eg.conf afterwards, to put your own ServerName back in....).<br><br>Now, I&#39;m not saying that hosting another site on your Evergreen server is necessarily a particulary good idea... but it does solve a small problem for us, and I thought others might benefit from the legwork :-)<br>
<br>Many thanks to berick on IRC for pointing me in the right direction!<br><br>-David Christensen<br clear="all"><br><font style="text-decoration: underline;" size="4">Developer&#39;s Certificate of Origin</font><br>
<p>
</p><pre>Developer&#39;s Certificate of Origin 1.1<br><br>By making a contribution to this project, I certify that:<br><br>(a) The contribution was created in whole or in part by me and I<br>    have the right to submit it under the open source license<br>
    indicated in the file; or<br><br>(b) The contribution is based upon previous work that, to the best<br>    of my knowledge, is covered under an appropriate open source<br>    license and I have the right under that license to submit that<br>
    work with modifications, whether created in whole or in part<br>    by me, under the same open source license (unless I am<br>    permitted to submit under a different license), as indicated<br>    in the file; or<br>
<br>(c) The contribution was provided directly to me by some other<br>    person who certified (a), (b) or (c) and I have not modified<br>    it.<br><br>(d) I understand and agree that this project and the contribution<br>
    are public and that a record of the contribution (including all<br>    personal information I submit with it, including my sign-off) is<br>    maintained indefinitely and may be redistributed consistent with<br>    this project or the open source license(s) involved.<br>
<br>Signed-off-by: David Christensen (<a href="mailto:David.A.Christensen@gmail.com">David.A.Christensen@gmail.com</a>)<br><br></pre><br>