<div dir="rtl"><div dir="ltr"><div class="gmail_quote"><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 class="im"><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>First, it doesn't move the parameters. if someone comes to <a href="http://blog.hetz.biz/?p=300" target="_blank">blog.hetz.biz/?p=300</a> - it should go to <a href="http://vps.net.bz/?p=300" target="_blank">vps.net.bz/?p=300</a></div>
<div><br></div></div></div></div></blockquote></div><div><br>That's not what I understand from the documentation: <a href="http://httpd.apache.org/docs/current/mod/mod_alias.html#redirect" target="_blank">http://httpd.apache.org/docs/current/mod/mod_alias.html#redirect</a> - but again I may be missing something.<br>
<br></div></div></blockquote><div><br></div><div>I missed that. Thanks.</div><div> </div><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></div><div class="im"><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>Second, this requires a new virtualhost (for <a href="http://vps.net.bz" target="_blank">vps.net.bz</a>) - am I right?</div></div></div></div></blockquote></div><div><br>Which you already have at the moment, no? As there's no ServerAlias in that VirtualHost you pasted, I understood <a href="http://vps.net.bz" target="_blank">vps.net.bz</a> is on a different vhost.<br>
<br></div></div></blockquote><div><br></div><div>With ServerAlias, it goes to a loop. I didn't invest much time there, I simply created another vhost.</div><div> </div><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>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>Anyway, thanks for the heads-up regarding the redirect. Seems to be working now.</div><div><br></div><div>Thanks,</div><div>Hetz</div></div></div>
</div>