Ticket #1900 (assigned enhancement)
AWstats and mod_bw conflict
| Reported by: | chatman-x@… | Owned by: | benedikt |
|---|---|---|---|
| Priority: | trivial | Milestone: | ispCP ω 1.3.0 |
| Component: | Config Files | Version: | ispCP ω 1.0.0 |
| Severity: | Easy | Keywords: | AWstats, mod_bw |
| Cc: |
Description (last modified by benedikt) (diff)
With AWstats mod_bw and there is a conflict. (mod_bw v0.8 from http://ivn.cl/ for Apache2 http://ivn.cl/files/source/mod_bw-0.8.tgz) Is mod_bw in /etc/apache2/sites-available/00_master.conf registered in order to filter files, the AWstats defective. The mod_bw entry in /etc/apache2/sites-available/00_master.conf:
<IfModule mod_bw.c> BandwidthModule On ForceBandWidthModule On LargeFileLimit .rar 2 20000 LargeFileLimit .exe 2 20000 </IfModule>
This makes a conflict with AWstats display in the URL. Configuration: /etc/apache2/mods-available/bw.load code:
LoadModule bw_module /usr/lib/apache2/modules/mod_bw.so
The filter works but the AWsats not.
Sorry for my bad english.
Change History
comment:2 Changed 3 years ago by chatman-x@…
AWstats and mod_bw working now.
Edit The Filter entrys coming in configfile: /etc/apache2/ispcp/mydomain.tld.conf
<IfModule mod_bw.c> BandwidthModule On ForceBandWidthModule On LargeFileLimit .rar 2 20000 LargeFileLimit .exe 2 20000 </IfModule>
And BandwidthModule? its On activated and ForceBandWidthModule? its off deactivated in configfile: /etc/apache2/sites-available/ispcp.conf
# httpd awstats support BEGIN.
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /stats http://localhost/stats/mydomain.tld
ProxyPassReverse /stats http://localhost/stats/mydomain.tld
<Location /stats>
<IfModule mod_bw.c>
BandwidthModule On
ForceBandWidthModule Off
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.+)\?config=([^\?\&]+)(.*) $1\?config=mydomain.tld&$3 [NC,L]
</IfModule>
AuthType Basic
AuthName "Statistics for domain mydomain.tld"
AuthUserFile /var/www/virtual/mydomain.tld/.htpasswd
AuthGroupFile /var/www/virtual/mydomain.tld/.htgroup
Require group statistics
</Location>
# httpd awstats support END.
comment:4 Changed 2 years ago by benedikt
- Status changed from closed to reopened
- Resolution patch deleted
comment:5 Changed 2 years ago by benedikt
- Owner set to benedikt
- Status changed from reopened to new
- Milestone changed from Working to ispCP ω 1.1
comment:6 Changed 2 years ago by benedikt
- Priority changed from major to trivial
- Status changed from new to assigned
- Component changed from Frontend (GUI) to Config Files
- Severity changed from Don't know to Easy
comment:7 Changed 2 years ago by benedikt
- Type changed from defect to enhancement
- Milestone changed from ispCP ω 1.1 to ispCP ω 1.2
I just realised that we still have mod_cband support in ispCP Omega. Beside mod_cband is not longer supported by debian (since lenny), we need to replace it. Maybe by mod_bw. But this won't happen before version 1.1. I send this to 1.2 and add another one for replacement of mod_cband.


