• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Issue plesk-stats change directory name?

You can try to do it with customization of vhost template - https://docs.plesk.com/en-US/onyx/a...settings-using-configuration-templates.68693/

You need to create custom template with something like

# mkdir -p /usr/local/psa/admin/conf/templates/custom/domain/
# cp /usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php /usr/local/psa/admin/conf/templates/custom/domain/domainVirtualHost.php

and then modify custom template /usr/local/psa/admin/conf/templates/custom/domain/domainVirtualHost.php

As you can see there are following mentions of plesk-stat:

# grep plesk-stat /usr/local/psa/admin/conf/templates/custom/domain/domainVirtualHost.php
Alias "/plesk-stat" "<?php echo $VAR->domain->physicalHosting->statisticsDir ?>"
<Location /plesk-stat/>
<Location /plesk-stat/logs/>
Redirect permanent /plesk-stat https://<?php echo $VAR->domain->urlName ?>/plesk-stat

Do not forget about point 5 from the mentioned documentation after template customization.
 
Back
Top