httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaël Lams" <>
Subject Re: [users@httpd] Awstats and re-write rule for Zope
Date Tue, 06 Mar 2007 08:36:15 GMT

I personnaly use the following similare rewrite rules on a few zope
instances and it works perfectly:

    RewriteEngine on
    RewriteRule ^/awstats/(.*) /awstats/$1 [L,PT]
    RewriteRule ^/awstatsclasses/(.*) /awstatsclasses/$1 [L,PT]
    RewriteRule ^/awstatscss/(.*) /awstatscss/$1 [L,PT]
    RewriteRule ^/awstatsicons/(.*) /awstatsicons/$1 [L,PT]
    RewriteRule ^/(.*)

plus the following lines:

    # Directives to add to your Apache conf file to allow use of
AWStats as a CGI.
    # Note that path "/usr/local/awstats/" must reflect your AWStats
Installation path.
    Alias /awstatsclasses "/usr/local/awstats/wwwroot/classes/"
    Alias /awstatscss "/usr/local/awstats/wwwroot/css/"
    Alias /awstatsicons "/usr/local/awstats/wwwroot/icon/"
    Alias /icon "/usr/local/awstats/wwwroot/icon/"
    ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/"

Kind regards,

View raw message