Re: Awstats and re-write rule for Zope

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

 



Hi
I personnaly use the following similare rewrite rules on a few zopeinstances 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 ^/(.*)http://localhost:8080/VirtualHostBase/http/%{HTTP_HOST}:80/folder_name/VirtualHostRoot/$1[L,P]
plus the following lines:
   #    # Directives to add to your Apache conf file to allow use ofAWStats as a CGI.    # Note that path "/usr/local/awstats/" must reflect your AWStatsInstallation 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,
Gaël

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux