Hi all,
We have this error on one server:
In the email we have:
But we check the file "/etc/httpd/conf/plesk.conf.d/vhosts/<domainX.com>.conf", we don't have any text: "InheritBefore".
How can we found the problem?
We have try to use:
# plesk repair web -y -v
Message:
Not a good idea also, because the server certificate has been assigned to all clients (instead of their certificate). We had to regenerate them one by one ...
An idea how to correct the problem?
Thank you.
We have this error on one server:
New configuration files for the Apache web server were not created due to the errors in configuration templates: Syntax error on line 166 of /etc/httpd/conf/plesk.conf.d/vhosts/<domain.com>.conf: RewriteOptions: unknown option 'InheritBefore' . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
In the email we have:
Unable to generate the web server configuration file on the host <server_domain> because of the following errors:
Template_Exception: Syntax error on line 192 of /etc/httpd/conf/plesk.conf.d/vhosts/<domainX.com>.conf:
RewriteOptions: unknown option 'InheritBefore'
file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Please resolve the errors in web server configuration templates and generate the file again.
But we check the file "/etc/httpd/conf/plesk.conf.d/vhosts/<domainX.com>.conf", we don't have any text: "InheritBefore".
How can we found the problem?
We have try to use:
# plesk repair web -y -v
Message:
- httpdmng failed: Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-domains
[1] =>
domain1.com, domain2.com...
)
Details: [2021-12-16 09:46:31.688] ERR [util_exec] proc_close()
failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with
exit code [1]
[2021-12-16 09:46:38.893] ERR [panel] Apache config
(16396443710.82226600) generation failed: Template_Exception:
Syntax error on line 196 of
/etc/httpd/conf/plesk.conf.d/vhosts/<domain.com>.conf:
RewriteOptions: unknown option 'InheritBefore'
Not a good idea also, because the server certificate has been assigned to all clients (instead of their certificate). We had to regenerate them one by one ...
An idea how to correct the problem?
Thank you.