httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean T Allen <>
Subject Re: [users@httpd] Global redirect
Date Fri, 31 Dec 2004 02:34:39 GMT
Something like:

RewriteRule ^/reports /webstats/ [R]

but awstats require a config file in the query string...

so perhaps...

RewriteRule ^/reports /webstats/{HTTP_HOST}

assuming the http host matches up with the config file...


Mark McCulligh wrote:

> Hi Group,
> I have AWStats setup on all my sites and to access their stats they 
> enter:
> I want to create a global redirect or something like that, that if the 
> user enters:
> they are redirected to the Awstats Perl script.
> I was wondering what is the best way to do this type of redirect. I do 
> not what to add a redirect line to each virtualhost record but define 
> a global redirect record that all sites can see.
> Thanks for your help.
> Mark.
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:> for more info.
> To unsubscribe, e-mail:
>   "   from the digest:
> For additional commands, e-mail:

View raw message