Jaume Teixi wrote:
> 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 /reports/ /var/reports/
> RewriteRule ^/stats(.*) /reports/%{SERVER_NAME}$1
>
> but Alias has no effect on rewrite and is looking from default Document
> Root:
> /var/www/www.virtualhost1.com/reports/www.virtualhost1.com
>
> and produces a 404 :(
How about
ln -s /var/reports/virtualhost1.com /var/reports/www.virtualhost1.com/stats/
Jeremy Wadsack
Wadsack-Allen Digital Group
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------