> 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
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
/
> 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
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
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
5 matches
Mail list logo