[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

rewrite and change document root on apache

thank you Craig,
I've setup Document Root for each virtual host on

I made stats for each virtual host on

On Apache I want to forward http://virtualhost1.com/stats to

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

and produces a 404  :(


Reply to: