<div dir="ltr"><div class="gmail_quote">On Fri, Apr 22, 2011 at 1:25 PM, Hetz Ben Hamo <span dir="ltr"><<a href="mailto:hetzbh@gmail.com">hetzbh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex">
<div dir="rtl"><div dir="ltr"><div class="gmail_quote"> <div class="im"><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex">
<div class="gmail_quote"><div>Not that I understand what's wrong with a one-line VHost for the old hostname. From some reason I take this type of configuration cleaner and easier to debug later (and could also very be more efficient performance-wise. or not. :))<br>
<br></div></div></blockquote><div><br></div></div><div>vhost one line? 2 lines for <VirtualHost> and </VirtualHost>, 1 line for ServerName, 1 line for DocumentRoot, so you'll need 4 at the minimum :)</div>
<div>
<br></div></div></div></div></blockquote><div><br>One line = one line of configuration on "what to do with this vhost", not the elementary parts ;)<br><br>Oh and... technically... had you chosen to provide with a different IP for every vhost, it could be 3 in total.<br>
<br>Why you need a DocumentRoot in a vhost serving no content, is a good question.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204); padding-left: 1ex; padding-right: 1ex;">
<div dir="rtl"><div dir="ltr"><div class="gmail_quote"><div></div><div>Anyway, thanks for the heads-up regarding the redirect. Seems to be working now.</div><div><br></div></div></div></div></blockquote><div><br>You're welcome :) <br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204); padding-left: 1ex; padding-right: 1ex;"><div dir="rtl"><div dir="ltr">
<div class="gmail_quote"><div></div><div>Thanks,</div><div>Hetz</div></div></div>
</div>
</blockquote></div><br>-- Shimi<br></div>