Including Directives into Web Server Configuration File - Plesk

Note: you can change the location of virtual host directories using the transvhosts.pl utility, which is located either in /usr/local/psa/bin/ or /opt/psa/bin/ directory, depending on your operating system.

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 httpd.include.

On all Linux systems, this file is located in the directory /var/www/vhosts/domain-name/conf/.

On FreeBSD systems, this file is located in the directory /usr/local/psa/home/vhosts/domain-name/conf/.

To use custom directives or redefine those inserted by Parallels Plesk Panel, you need to create the files vhost.conf or 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.

Resource: http://parallels.com/Plesk/

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.