<VirtualHost 1.2.3.5:443>
ServerName foobar.com:443
ServerAlias
www.foobar.com
UseCanonicalName Off
SuexecUserGroup snowtech psacln
ServerAdmin
[email protected]
DocumentRoot /home/httpd/vhosts/foobar.com/httpsdocs
CustomLog /home/httpd/vhosts/foobar.com/statistics/logs/access_ssl_log plesklog
ErrorLog /home/httpd/vhosts/foobar.com/statistics/logs/error_ssl_log
<IfModule mod_userdir.c>
UserDir /home/httpd/vhosts/foobar.com/web_users
</IfModule>
ScriptAlias /cgi-bin/ /home/httpd/vhosts/foobar.com/cgi-bin/
Alias /plesk-stat /home/httpd/vhosts/foobar.com/statistics/
Alias /webstat /home/httpd/vhosts/foobar.com/statistics/webstat
Alias /webstat-ssl /home/httpd/vhosts/foobar.com/statistics/webstat-ssl
Alias /ftpstat /home/httpd/vhosts/foobar.com/statistics/ftpstat
Alias /anon_ftpstat /home/httpd/vhosts/foobar.com/statistics/anon_ftpstat
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /usr/local/psa/var/certificates/certQLD8906
<Directory /home/httpd/vhosts/foobar.com/httpsdocs>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_value open_basedir "/home/httpd/vhosts/foobar.com/httpsdocs:/tmp"
</IfModule>
SSLRequireSSL
Options -Includes +ExecCGI
</Directory>
<Directory "/home/httpd/vhosts/foobar.com/statistics">
AuthType Basic
AuthName "Domain statistics"
AuthUserFile /home/httpd/vhosts/foobar.com/pd/d..plesk-stat
require valid-user
</Directory>
</VirtualHost>