rewriterule help?

2011-04-22 Thread Hetz Ben Hamo
Hi, I haven't touched for quite a long time rewriterule in apache. Could someone help me a bit? :) I have one domain which is hosting my blog and I'm changing the blog domain name, so natually I want the rewriterule to replace automatically everyone that comes from domain blog.hetz.biz (old

Re: rewriterule help?

2011-04-22 Thread shimi
2011/4/22 Hetz Ben Hamo het...@gmail.com Hi, I haven't touched for quite a long time rewriterule in apache. Could someone help me a bit? :) I have one domain which is hosting my blog and I'm changing the blog domain name, so natually I want the rewriterule to replace automatically everyone

Re: The STREAMS non-inclusion in Linux

2011-04-22 Thread Omer Zak
Thanks, Geoff Mendelson and Shlomi Fish, for helping me understand why STREAMS didn't find its way into Linux. Intuitively, drivers stacked according to STREAMS interfaces and protocols would be slower than monolithic drivers accomplishing the same function. Therefore the monolithic solution

Re: rewriterule help?

2011-04-22 Thread Hetz Ben Hamo
Sorry, I copied the wrong lines. Here is the correct copy, with the same issue: VirtualHost *:80 ServerAdmin h...@benhamo.org DocumentRoot /home/xxx/hetz-biz ServerName blog.hetz.biz ErrorLog /home/xxx/logs/vps-net_biz-error_log LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\

Re: rewriterule help?

2011-04-22 Thread shimi
On Fri, Apr 22, 2011 at 12:25 PM, Hetz Ben Hamo het...@gmail.com wrote: Sorry, I copied the wrong lines. Here is the correct copy, with the same issue: VirtualHost *:80 ServerAdmin h...@benhamo.org DocumentRoot /home/xxx/hetz-biz ServerName blog.hetz.biz ErrorLog

Re: rewriterule help?

2011-04-22 Thread Hetz Ben Hamo
Let's continue then... since this domain (VirtualHost) won't be serving any OTHER traffic, there's no point at conditioning the rewrites (and putting them into our debug process). RewriteCond can be removed. You've also placed a RewriteOptions Inherit. Which means the rewrite engine

Re: rewriterule help?

2011-04-22 Thread shimi
On Fri, Apr 22, 2011 at 12:57 PM, Hetz Ben Hamo het...@gmail.com wrote: Let's continue then... since this domain (VirtualHost) won't be serving any OTHER traffic, there's no point at conditioning the rewrites (and putting them into our debug process). RewriteCond can be removed. You've also

Re: rewriterule help?

2011-04-22 Thread Hetz Ben Hamo
First, it doesn't move the parameters. if someone comes to blog.hetz.biz/?p=300 - it should go to vps.net.bz/?p=300 That's not what I understand from the documentation: http://httpd.apache.org/docs/current/mod/mod_alias.html#redirect - but again I may be missing something. I missed

Re: rewriterule help?

2011-04-22 Thread shimi
On Fri, Apr 22, 2011 at 1:25 PM, Hetz Ben Hamo het...@gmail.com wrote: 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.