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

Re: Apache mod_rewrite and Alias ?

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


craig sanders

Reply to: