You can include domain-specific Apache configuration directives into web server configuration file. In Parallels Plesk Panel, each domain has virtual hosts configuration stored in a separate file
On all Linux systems, this file is located in the directory
On FreeBSD systems, this file is located in the directory
If you upgraded from Parallels Plesk Panel version 7.5.4 or earlier, try looking for this file in the directory
Note: you can change the location of virtual host directories using the
transvhosts.pl utility, which is located either in
/opt/psa/bin/ directory, depending on your operating system.
This file is overwritten each time the virtual host configuration is changed, thus any manual alterations made to the file are discarded. To use custom directives or redefine those inserted by Parallels Plesk Panel, you need to create the files
vhost_ssl.conf with necessary directives in the directory
/path_to_vhosts/<domain-name>/conf/ for a domain, and
/path_to_vhosts/<domain-name>/subdomains/<subdomain-name>/conf/ for a subdomain.
If any of these files exist by the time the main configuration file is generated, Parallels Plesk Panel inserts the appropriate Include directive into the HTTP and/or HTTPS virtual host context respectively. For security reasons, only root can create the
For the changes to take effect, you need to run the following command:
/parallels_plesk_panel_installation_directory/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=<domain_name>