thank you Craig, I've tried both on global and on vhost config but has no effect for rewrite engine
any points how to get that /stats pointing ot differeent _document_root ? thanks jaume. Craig Sanders wrote: > On Tue, Sep 05, 2000 at 11:22:56AM +0000, Jaume Teixi wrote: > > RewriteRule ^/stats(.*) /reports/%{SERVER_NAME}$1 > > > > but it only forwards to /_document_root_/reports/virtualhost.com > > ok, so the rewrite rule is working. > > > as I see on rewrite log then reports 404 > > so Alias /reports /var/reports has no effect > > > > how to enable rewrite and then alias to change document_root path ?¿ > > is the Alias in the global httpd config, or in a particular vhost config? > > try putting it in the global config. also try putting it in each vhost's > config. > > craig > > -- > craig sanders