• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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