Ticket #2173 (assigned task)

Opened 2 years ago

Last modified 18 months ago

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...

Change History

comment:1 Changed 2 years ago by nuxwin

  • Owner set to nuxwin
  • Status changed from new to assigned

comment:2 Changed 2 years ago by nuxwin

  • Milestone changed from ispCP ω 1.0.5 to ispCP ω 1.0.6

comment:3 Changed 22 months ago by benedikt

  • Milestone changed from ispCP ω 1.0.6 to ispCP ω 1.1.0

comment:4 Changed 18 months ago by nuxwin

  • Description modified (diff)
Note: See TracTickets for help on using tickets.