Re: [EMAIL PROTECTED] mod_rewrite and domain

2007-05-15 Thread Joshua Slive
On 5/15/07, Matteo Forni <[EMAIL PROTECTED]> wrote: I tryed but I got a 404... Hmmm... You don't take a clue, do you? ;-) Use the RerwiteLog! Joshua. - The official User-To-User support forum of the Apache HTTP Server Projec

Re: [EMAIL PROTECTED] mod_rewrite and domain

2007-05-15 Thread Matteo Forni
I tryed but I got a 404... 2007/5/15, Joshua Slive <[EMAIL PROTECTED]>: On 5/15/07, Matteo Forni <[EMAIL PROTECTED]> wrote: > Dear Apache Users, > I have a problem: i want to redirect an user that visits > http://www.adomain.com/statistics to > http://IPADDR/awstats/awstats.pl?config=adomain but

Re: [EMAIL PROTECTED] mod_rewrite and domain

2007-05-15 Thread Joshua Slive
On 5/15/07, Matteo Forni <[EMAIL PROTECTED]> wrote: Dear Apache Users, I have a problem: i want to redirect an user that visits http://www.adomain.com/statistics to http://IPADDR/awstats/awstats.pl?config=adomain but I don't know how to. I tryed with RewriteRule www\.(.*)/statistics http://IPADD

[EMAIL PROTECTED] mod_rewrite and domain

2007-05-15 Thread Matteo Forni
Dear Apache Users, I have a problem: i want to redirect an user that visits http://www.adomain.com/statistics to http://IPADDR/awstats/awstats.pl?config=adomain but I don't know how to. I tryed with RewriteRule www\.(.*)/statistics http://IPADDR/awstats/awstats.pl?config=$1 but i get a 404 error.