Edit - I have managed to solve my own problem.
The problem was after saving website settings in Plesk i get this error:
"Unable to generate the web server configuration file on the host <plesk.ourdomain.co.uk> because of the following errors:
Template_Exception: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/plesk.conf.d/server.conf:6
AH00526: Syntax error on line 1 of /var/www/vhosts/system/ourdomain.co.uk/conf/vhost.conf:
<VirtualHost> cannot occur within <VirtualHost> section
file: /opt/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."
OS: Ubuntu 14.04.2 LTS
Plesk version: 12.0.18 Update #81 , last updated at April 14, 2016 06:25 AM
The solution was to edit: /var/www/vhosts/system/mydomain.com/conf/vhost.conf
Which looked like this:
<VirtualHost *:80>
<IfModule mod_fcgid.c>
FcgidBusyTimeout 3600
</IfModule>
</VirtualHost>
I removed:
<VirtualHost *:80>
</VirtualHost>
So the end result was:
<IfModule mod_fcgid.c>
FcgidBusyTimeout 3600
</IfModule>
After that I was able to update website settings again from within Plesk again.
The problem was after saving website settings in Plesk i get this error:
"Unable to generate the web server configuration file on the host <plesk.ourdomain.co.uk> because of the following errors:
Template_Exception: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/plesk.conf.d/server.conf:6
AH00526: Syntax error on line 1 of /var/www/vhosts/system/ourdomain.co.uk/conf/vhost.conf:
<VirtualHost> cannot occur within <VirtualHost> section
file: /opt/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."
OS: Ubuntu 14.04.2 LTS
Plesk version: 12.0.18 Update #81 , last updated at April 14, 2016 06:25 AM
The solution was to edit: /var/www/vhosts/system/mydomain.com/conf/vhost.conf
Which looked like this:
<VirtualHost *:80>
<IfModule mod_fcgid.c>
FcgidBusyTimeout 3600
</IfModule>
</VirtualHost>
I removed:
<VirtualHost *:80>
</VirtualHost>
So the end result was:
<IfModule mod_fcgid.c>
FcgidBusyTimeout 3600
</IfModule>
After that I was able to update website settings again from within Plesk again.
Last edited: