Articles in this section

Plesk Repair Kit shows warning: Some custom configuration templates have been found.

Plesk for Linux kb: technical ext: litespeed

Applicable to:

  • Plesk for Linux

Symptoms

  • Plesk Repair Kit shows a warning:

    Warning: Checking for custom configuration templates Some custom configuration templates have been found. The custom templates have higher priority than default templates in case of configs generation Please check documentation for details: https://docs.plesk.com/current/redirect.html?book=advanced-administration-guide-linux&page=68693.htm

    mceclip0.png

  • LiteSpeed extension is installed in Plesk.

     

Cause

LiteSpeed extension created a custom template during the installation process.
This behavior is defined by the extension developers (LiteSpeed Technologies Inc.).

The custom file /usr/local/psa/admin/conf/templates/custom/domain/domainVirtualHost.php has the following difference with the default one:

# diff -c /usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php /usr/local/psa/admin/conf/templates/custom/domain/domainVirtualHost.php
/*** /usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php 2020-07-20 03:50:54.000000000 +0000
--- /usr/local/psa/admin/conf/templates/custom/domain/domainVirtualHost.php 2020-07-09 08:32:44.889123788 +0000
***************
*** 51,56 ****
--- 51,59 ----
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,QSA]
</IfModule>
+ <IfModule Litespeed>
+ CacheRoot lscache
+ </IfModule>

</VirtualHost>
<?php return; ?>
<?php endif; ?>
***************
*** 357,362 ****
--- 360,368 ----
<?php endif ?>
<?=$VAR->domain->physicalHosting->extensionsConfigs?>
+ <IfModule Litespeed>
+ CacheRoot lscache
+ </IfModule>

</VirtualHost>
<?php if ($OPT['ssl']): ?>

Resolution

This warning can be safely ignored.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.