RE: rewrite and change document root on apache

2000-09-06 Thread Joaquin Ferrero
> problem is that > > Document Root for each virtual host is on > /var/www/www.virtualhost1.com > and I'm trying to forward http://www.virtualhost1.com/stats to > /var/reports/www.virtualhost1.com > so rewrite rule > RewriteRule ^/stats(.*)/var/reports/%{SERVER_NAME}$1 [PT] > really

Re: rewrite and change document root on apache

2000-09-06 Thread Jaume Teixi
problem is that Document Root for each virtual host is on /var/www/www.virtualhost1.com and I'm trying to forward http://www.virtualhost1.com/stats to /var/reports/www.virtualhost1.com so rewrite rule RewriteRule ^/stats(.*)/var/reports/%{SERVER_NAME}$1 [PT] really looks for /

RE: rewrite and change document root on apache

2000-09-06 Thread Joaquin Ferrero
> problem is that > > Document Root for each virtual host is on > /var/www/www.virtualhost1.com > and I'm trying to forward http://www.virtualhost1.com/stats to > /var/reports/www.virtualhost1.com > so rewrite rule > RewriteRule ^/stats(.*)/var/reports/%{SERVER_NAME}$1 [PT] > really

Re: rewrite and change document root on apache

2000-09-06 Thread Jaume Teixi
problem is that Document Root for each virtual host is on /var/www/www.virtualhost1.com and I'm trying to forward http://www.virtualhost1.com/stats to /var/reports/www.virtualhost1.com so rewrite rule RewriteRule ^/stats(.*)/var/reports/%{SERVER_NAME}$1 [PT] really looks for

rewrite and change document root on apache

2000-09-06 Thread Jaume Teixi
thank you Craig, I've setup Document Root for each virtual host on /var/www/www.virtualhost1.com I made stats for each virtual host on /var/reports/www.virtualhost1.com On Apache I want to forward http://virtualhost1.com/stats to /var/reports/virtualhost1.com I've setup: Alias