Re: rewrite and change document root on apache

2000-09-06 Thread Erdmut Pfeifer
Jaume Teixi wrote: > > 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/%{S

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 Jaume Teixi
thanks Erdmut now on my rule 've RewriteRule ^/stats(.*)/var/reports/%{SERVER_NAME}$1 [PT] on the rewrite log I see: rewrite /stats -> /var/reports/www.virtualhost1.com/ '/var/reports/virtualhost1.com/' to get passed through to next API URI-to-filename handler and then appears a 404

Re: rewrite and change document root on apache

2000-09-06 Thread Erdmut Pfeifer
[EMAIL PROTECTED] wrote: > 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/re

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