Re: [us...@httpd] Problem with RewriteCond

2009-09-17 Thread Krist van Besien
On Thu, Sep 17, 2009 at 8:15 AM, Massimiliano Muccinelli wrote: > Krist mistyped #ReweriteCond %{QUERY_STRING} ^$# and i didn't notice it... Sorry about that. But early in the morning on my way to work that sometimes happens :-) krist -- krist.vanbes...@gmail.com kr...@vanbesien.org Bremgart

Re: [us...@httpd] Problem with RewriteCond

2009-09-16 Thread Massimiliano Muccinelli
2009/9/17 Massimiliano Muccinelli : > 2009/9/17 Krist van Besien : >> On Thu, Sep 17, 2009 at 7:15 AM, Massimiliano Muccinelli >> wrote: >>> Hi all >>> >>> I've got this rule >>> >>> >>>  RewriteEngine On >>>  RewriteCond %{HTTP_HOST} ^(www\.)?manitese\.it$ [NC] >>>  RewriteRule ^$ http://www

Re: [us...@httpd] Problem with RewriteCond

2009-09-16 Thread Massimiliano Muccinelli
2009/9/17 Krist van Besien : > On Thu, Sep 17, 2009 at 7:15 AM, Massimiliano Muccinelli > wrote: >> Hi all >> >> I've got this rule >> >> >>  RewriteEngine On >>  RewriteCond %{HTTP_HOST} ^(www\.)?manitese\.it$ [NC] >>  RewriteRule ^$ http://www.manitese.it/landing [R=301,L] >> >> >> It

Re: [us...@httpd] Problem with RewriteCond

2009-09-16 Thread Krist van Besien
On Thu, Sep 17, 2009 at 7:15 AM, Massimiliano Muccinelli wrote: > Hi all > > I've got this rule > > >  RewriteEngine On >  RewriteCond %{HTTP_HOST} ^(www\.)?manitese\.it$ [NC] >  RewriteRule ^$ http://www.manitese.it/landing [R=301,L] > > > It works nice but i'd like t redirect only the

[us...@httpd] Problem with RewriteCond

2009-09-16 Thread Massimiliano Muccinelli
Hi all I've got this rule RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\.)?manitese\.it$ [NC] RewriteRule ^$ http://www.manitese.it/landing [R=301,L] It works nice but i'd like t redirect only the www.manitese.it request... not for example the www.manitese.it/?p=123 requests... ho