Hi EugeneL,
Below is what you asked for, please note, I have replaced the domain with domain.com and the ip address with xx.xxx.xxx.xx
[root@aries ~]# ls -al /var/www/vhosts/domain.com/conf/vhost.conf
-rw-r--r-- 1 root root 112 May 11 02:14 /var/www/vhosts/domain.com/conf/vhost.conf
[root@aries conf]# cat 13050764810.42563300_httpd.include
# ATTENTION!
# DO NOT MODIFY THIS FILE OR ANY PART OF IT. THIS CAN RESULT IN IMPROPER PLESK
# FUNCTIONING OR FAILURE, CAUSE DAMAGE AND LOSS OF DATA. IF YOU REQUIRE CUSTOM
# MODIFICATIONS TO BE APPLIED TO THE CONFIGURATION, PLEASE, PERFORM THEM IN THE
# FOLLOWING FILE(S):
#/var/www/vhosts/domain.com/conf/vhost.conf
#/var/www/vhosts/domain.com/conf/vhost_ssl.conf
<IfModule mod_ssl.c>
<VirtualHost xx.xxx.xxx.xx:443>
ServerName "domain.com:443"
ServerAlias "www.domain.com"
UseCanonicalName Off
<IfModule mod_suexec.c>
SuexecUserGroup "domainco" "psacln"
</IfModule>
ServerAdmin "
[email protected]"
DocumentRoot "/var/www/vhosts/domain.com/httpdocs"
CustomLog /var/www/vhosts/domain.com/statistics/logs/access_ssl_log plesklog
ErrorLog "/var/www/vhosts/domain.com/statistics/logs/error_log"
<IfModule mod_userdir.c>
UserDir "/var/www/vhosts/domain.com/web_users"
</IfModule>
ScriptAlias "/cgi-bin/" "/var/www/vhosts/domain.com/cgi-bin/"
Alias "/plesk-stat" "/var/www/vhosts/domain.com/statistics"
<Location /plesk-stat/>
Options +Indexes
</Location>
<Location /plesk-stat/logs/>
Require valid-user
</Location>
Alias /webstat /var/www/vhosts/domain.com/statistics/webstat
Alias /webstat-ssl /var/www/vhosts/domain.com/statistics/webstat-ssl
Alias /ftpstat /var/www/vhosts/domain.com/statistics/ftpstat
Alias /anon_ftpstat /var/www/vhosts/domain.com/statistics/anon_ftpstat
Alias /awstats-icon /var/www/html/awstats/icon
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /usr/local/psa/var/certificates/certVjU6289
<Directory /var/www/vhosts/domain.com/httpdocs>
<IfModule mod_perl.c>
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule mod_perl.c>
<Files ~ (\.asp$)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global /tmp
</Files>
</IfModule>
<IfModule mod_python.c>
<Files ~ (\.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (\.fcgi)>
SetHandler fcgid-script
Options +FollowSymLinks +ExecCGI
</Files>
</IfModule>
<Files ~ (\.php)>
SetHandler None
AddHandler php-script .php
Options +ExecCGI
allow from all
</Files>
SSLRequireSSL
Options +Includes +ExecCGI
</Directory>
<Directory "/var/www/vhosts/domain.com/httpdocs/admin">
AuthType Basic
AuthName "The Forum Admin"
AuthUserFile "/var/www/vhosts/domain.com/pd/d..httpdocs@admin"
require valid-user
</Directory>
<Directory "/var/www/vhosts/domain.com/statistics">
AuthType Basic
AuthName "Domain statistics"
AuthUserFile "/var/www/vhosts/domain.com/pd/d..httpdocs@plesk-stat"
require valid-user
</Directory>
Alias "/error_docs" "/var/www/vhosts/domain.com/error_docs"
ErrorDocument 400 "/error_docs/bad_request.html"
ErrorDocument 401 "/error_docs/unauthorized.html"
ErrorDocument 403 "/error_docs/forbidden.html"
ErrorDocument 404 "/error_docs/not_found.html"
ErrorDocument 500 "/error_docs/internal_server_error.html"
ErrorDocument 405 "/error_docs/method_not_allowed.html"
ErrorDocument 406 "/error_docs/not_acceptable.html"
ErrorDocument 407 "/error_docs/proxy_authentication_required.html"
ErrorDocument 412 "/error_docs/precondition_failed.html"
ErrorDocument 415 "/error_docs/unsupported_media_type.html"
ErrorDocument 501 "/error_docs/not_implemented.html"
ErrorDocument 502 "/error_docs/bad_gateway.html"
ErrorDocument 503 "/error_docs/maintenance.html"
</VirtualHost>
</IfModule>
<VirtualHost xx.xxx.xxx.xx:80>
ServerName "domain.com:80"
ServerAlias "www.domain.com"
UseCanonicalName Off
<IfModule mod_suexec.c>
SuexecUserGroup "domainco" "psacln"
</IfModule>
ServerAdmin "
[email protected]"
DocumentRoot "/var/www/vhosts/domain.com/httpdocs"
CustomLog /var/www/vhosts/domain.com/statistics/logs/access_log plesklog
ErrorLog "/var/www/vhosts/domain.com/statistics/logs/error_log"
<IfModule mod_userdir.c>
UserDir "/var/www/vhosts/domain.com/web_users"
</IfModule>
ScriptAlias "/cgi-bin/" "/var/www/vhosts/domain.com/cgi-bin/"
Redirect permanent /plesk-stat
https://domain.com/plesk-stat
Redirect permanent /webstat
https://domain.com/webstat
Redirect permanent /webstat-ssl
https://domain.com/webstat-ssl
Redirect permanent /ftpstat
https://domain.com/ftpstat
Redirect permanent /anon_ftpstat
https://domain.com/anon_ftpstat
Redirect permanent /awstats-icon
https://domain.com/awstats-icon
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory /var/www/vhosts/domain.com/httpdocs>
<IfModule mod_perl.c>
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule mod_perl.c>
<Files ~ (\.asp$)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global /tmp
</Files>
</IfModule>
<IfModule mod_python.c>
<Files ~ (\.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (\.fcgi)>
SetHandler fcgid-script
Options +FollowSymLinks +ExecCGI
</Files>
</IfModule>
<Files ~ (\.php)>
SetHandler None
AddHandler php-script .php
Options +ExecCGI
allow from all
</Files>
Options +Includes +ExecCGI
</Directory>
<Directory "/var/www/vhosts/domain.com/httpdocs/admin">
AuthType Basic
AuthName "The Forum Admin"
AuthUserFile "/var/www/vhosts/domain.com/pd/d..httpdocs@admin"
require valid-user
</Directory>
<Directory "/var/www/vhosts/domain.com/statistics">
AuthType Basic
AuthName "Domain statistics"
AuthUserFile "/var/www/vhosts/domain.com/pd/d..httpdocs@plesk-stat"
require valid-user
</Directory>
Alias "/error_docs" "/var/www/vhosts/domain.com/error_docs"
ErrorDocument 400 "/error_docs/bad_request.html"
ErrorDocument 401 "/error_docs/unauthorized.html"
ErrorDocument 403 "/error_docs/forbidden.html"
ErrorDocument 404 "/error_docs/not_found.html"
ErrorDocument 500 "/error_docs/internal_server_error.html"
ErrorDocument 405 "/error_docs/method_not_allowed.html"
ErrorDocument 406 "/error_docs/not_acceptable.html"
ErrorDocument 407 "/error_docs/proxy_authentication_required.html"
ErrorDocument 412 "/error_docs/precondition_failed.html"
ErrorDocument 415 "/error_docs/unsupported_media_type.html"
ErrorDocument 501 "/error_docs/not_implemented.html"
ErrorDocument 502 "/error_docs/bad_gateway.html"
ErrorDocument 503 "/error_docs/maintenance.html"
Include "/var/www/vhosts/domain.com/conf/vhost.conf"
</VirtualHost>
Thanks