Ticket #2173 (assigned task)
The awstats link should be generated dynamically
| Reported by: | nuxwin | Owned by: | nuxwin |
|---|---|---|---|
| Priority: | normal | Milestone: | ispCP ω 1.2.0 |
| Component: | Frontend (GUI) | Version: | ispCP ω 1.0.3 |
| Severity: | Easy | Keywords: | awstats link |
| Cc: |
Description (last modified by nuxwin) (diff)
Currently, the Awstats alias path is hardcoded. This path should be generated dynamically as for PMA.. because in some cases, the path '/stats' can pose problem if the client was installed a software that provides also a statistics module with the same path.
I encountered this problem with a customer that installed the PhpBoost CMS who provides a statistics module with the same access path.
So, a new configuration setting should be added in the /etc/ispcp/ispcp.conf file and the following files should be changed (ex. for Debian):
Under /etc/ispcp/apache:
01_awstats.conf
Under /etc/ispcp/apache/parts:
als_awstats_dynamic_entry.tpl als_awstats_static_entry.tpl dmn_awstats_dynamic_entry.tpl dmn_awstats_static_entry.tpl
Under /var/www/ispcp/client:
domain_statistics.php
Under /var/www/ispcp/gui/include:
client-functions.php
And also some engine/setup files...


