Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 22nd, 2010 | Syntax: None | Size: 5.72 KB | Hits: 103 | Expires: Never
Copy text to clipboard
  1. # ATTENTION!
  2. # DO NOT MODIFY THIS FILE OR ANY PART OF IT. THIS CAN RESULT IN IMPROPER PLESK
  3. # FUNCTIONING OR FAILURE, CAUSE DAMAGE AND LOSS OF DATA. IF YOU REQUIRE CUSTOM
  4. # MODIFICATIONS TO BE APPLIED TO THE CONFIGURATION, PLEASE, PERFORM THEM IN THE
  5. # FOLLOWING FILE(S):
  6. # /var/www/vhosts/jeconline.org/conf/vhost.conf
  7. # /var/www/vhosts/jeconline.org/conf/vhost_ssl.conf
  8. # /var/www/vhosts/jeconline.org/subdomains/<subdomain-name>/conf/vhost.conf
  9.  
  10. <IfModule mod_ssl.c>
  11.  
  12. <VirtualHost 216.139.235.14:443>
  13.         ServerName   jeconline.org:443
  14.         ServerAlias  www.jeconline.org
  15.         UseCanonicalName Off
  16.         ServerAlias  birthrightisraelnextny.org
  17.         ServerAlias  www.birthrightisraelnextny.org
  18.         SuexecUserGroup         jeconline psacln
  19.         DocumentRoot /var/www/vhosts/jeconline.org/httpdocs
  20.         CustomLog  /var/www/vhosts/jeconline.org/statistics/logs/access_ssl_log plesklog
  21.         ErrorLog  /var/www/vhosts/jeconline.org/statistics/logs/error_log
  22. <IfModule mod_userdir.c>
  23.         UserDir /var/www/vhosts/jeconline.org/web_users
  24. </IfModule>
  25.         ScriptAlias  /cgi-bin/ /var/www/vhosts/jeconline.org/cgi-bin/
  26.         Alias  /plesk-stat /var/www/vhosts/jeconline.org/statistics/
  27.         <Location  /plesk-stat/>
  28.                 Options +Indexes
  29.         </Location>
  30.         <Location  /plesk-stat/logs/>
  31.                 Require valid-user
  32.         </Location>
  33.         Alias  /webstat /var/www/vhosts/jeconline.org/statistics/webstat
  34.         Alias  /webstat-ssl /var/www/vhosts/jeconline.org/statistics/webstat-ssl
  35.         Alias  /ftpstat /var/www/vhosts/jeconline.org/statistics/ftpstat
  36.         Alias  /anon_ftpstat /var/www/vhosts/jeconline.org/statistics/anon_ftpstat
  37.         Alias  /awstats-icon /var/www/html/awstats
  38.         SSLEngine on
  39.         SSLVerifyClient none
  40.         SSLCertificateFile /usr/local/psa/var/certificates/cert-TxvfDH
  41.         <Directory /var/www/vhosts/jeconline.org/httpdocs>
  42.         <IfModule mod_perl.c>
  43.         <Files ~ (\.pl$)>
  44.                 SetHandler perl-script
  45.                 PerlHandler ModPerl::Registry
  46.                 Options ExecCGI
  47.                 allow from all
  48.                 PerlSendHeader On
  49.         </Files>
  50.         </IfModule>
  51.         <IfModule sapi_apache2.c>
  52.                 php_admin_flag engine on
  53.                 php_admin_flag safe_mode off
  54.                 php_admin_value open_basedir "/var/www/vhosts/jeconline.org/httpdocs:/tmp"
  55.         </IfModule>
  56.         <IfModule mod_php5.c>
  57.                 php_admin_flag engine on
  58.                 php_admin_flag safe_mode off
  59.                 php_admin_value open_basedir "/var/www/vhosts/jeconline.org/httpdocs:/tmp"
  60.         </IfModule>
  61.                 SSLRequireSSL
  62.                 Options +Includes +ExecCGI
  63.         </Directory>
  64.         <Directory /var/www/vhosts/jeconline.org/web_users/media>
  65.                 Options -Includes -ExecCGI
  66.         <IfModule sapi_apache2.c>
  67.                 php_admin_flag engine off
  68.         </IfModule>
  69.         <IfModule mod_php5.c>
  70.                 php_admin_flag engine off
  71.         </IfModule>
  72.         </Directory>
  73. </VirtualHost>
  74.  
  75. </IfModule>
  76.  
  77. <VirtualHost 216.139.235.14:80>
  78.         ServerName   jeconline.org:80
  79.         ServerAlias  www.jeconline.org
  80.         UseCanonicalName Off
  81.         ServerAlias  birthrightisraelnextny.org
  82.         ServerAlias  www.birthrightisraelnextny.org
  83.         ServerAlias  birthrightisraelnextny.org
  84.   ServerAlias  www.birthrightisraelnextny.org
  85.   SuexecUserGroup  jeconline psacln
  86.         DocumentRoot /var/www/vhosts/jeconline.org/httpdocs
  87.         CustomLog  /var/www/vhosts/jeconline.org/statistics/logs/access_log plesklog
  88.         ErrorLog  /var/www/vhosts/jeconline.org/statistics/logs/error_log
  89. <IfModule mod_userdir.c>
  90.         UserDir /var/www/vhosts/jeconline.org/web_users
  91. </IfModule>
  92.         ScriptAlias  /cgi-bin/ /var/www/vhosts/jeconline.org/cgi-bin/
  93.         Redirect permanent /plesk-stat https://jeconline.org/plesk-stat
  94.         Redirect permanent /webstat https://jeconline.org/webstat
  95.         Redirect permanent /webstat-ssl https://jeconline.org/webstat-ssl
  96.         Redirect permanent /ftpstat https://jeconline.org/ftpstat
  97.         Redirect permanent /anon_ftpstat https://jeconline.org/anon_ftpstat
  98.         Redirect permanent /awstats-icon https://jeconline.org/awstats-icon
  99.         <IfModule mod_ssl.c>
  100.                 SSLEngine off
  101.         </IfModule>
  102.         <Directory /var/www/vhosts/jeconline.org/httpdocs>
  103.         <IfModule mod_perl.c>
  104.         <Files ~ (\.pl$)>
  105.                 SetHandler perl-script
  106.                 PerlHandler ModPerl::Registry
  107.                 Options ExecCGI
  108.                 allow from all
  109.                 PerlSendHeader On
  110.         </Files>
  111.         </IfModule>
  112.         <IfModule sapi_apache2.c>
  113.                 php_admin_flag engine on
  114.                 php_admin_flag safe_mode off
  115.                 php_admin_value open_basedir "/var/www/vhosts/jeconline.org/httpdocs:/tmp"
  116.         </IfModule>
  117.         <IfModule mod_php5.c>
  118.                 php_admin_flag engine on
  119.                 php_admin_flag safe_mode off
  120.                 php_admin_value open_basedir "/var/www/vhosts/jeconline.org/httpdocs:/tmp"
  121.         </IfModule>
  122.                 Options +Includes +ExecCGI
  123.         </Directory>
  124.         <Directory /var/www/vhosts/jeconline.org/web_users/media>
  125.                 Options -Includes -ExecCGI
  126.         <IfModule sapi_apache2.c>
  127.                 php_admin_flag engine off
  128.         </IfModule>
  129.         <IfModule mod_php5.c>
  130.                 php_admin_flag engine off
  131.         </IfModule>
  132.         </Directory>
  133. </VirtualHost>
  134.  
  135. <VirtualHost 216.139.232.237:80>
  136.         ServerName   birthrightisraelnextny.com:80
  137.         ServerAlias  www.birthrightisraelnextny.com
  138.         UseCanonicalName Off
  139.         DocumentRoot /var/www/vhosts/jeconline.org/httpdocs
  140.         CustomLog  /var/www/vhosts/jeconline.org/statistics/logs/access_log plesklog
  141.         ErrorLog  /var/www/vhosts/jeconline.org/statistics/logs/error_log
  142. <IfModule mod_userdir.c>
  143.         UserDir /var/www/vhosts/jeconline.org/web_users
  144. </IfModule>
  145.         <IfModule mod_ssl.c>
  146.                 SSLEngine off
  147.         </IfModule>
  148.         <Directory /var/www/vhosts/jeconline.org/httpdocs>
  149.         <IfModule sapi_apache2.c>
  150.                 php_admin_flag engine on
  151.                 php_admin_flag safe_mode off
  152.                 php_admin_value open_basedir "/var/www/vhosts/jeconline.org/httpdocs:/tmp"
  153.         </IfModule>
  154.         <IfModule mod_php5.c>
  155.                 php_admin_flag engine on
  156.                 php_admin_flag safe_mode off
  157.                 php_admin_value open_basedir "/var/www/vhosts/jeconline.org/httpdocs:/tmp"
  158.         </IfModule>
  159.                 Options -Includes -ExecCGI
  160.         </Directory>
  161.         <Directory /var/www/vhosts/jeconline.org/web_users>
  162.         <IfModule sapi_apache2.c>
  163.                 php_admin_flag engine off
  164.         </IfModule>
  165.         <IfModule mod_php5.c>
  166.                 php_admin_flag engine off
  167.         </IfModule>
  168.         </Directory>
  169. </VirtualHost>