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
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
/
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
[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
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