Advertisement
Guest User

deschutesdesigngroup.com Vhost Apache Configuration

a guest
Jun 3rd, 2019
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ##################################################
  2. ##################################################
  3. #
  4. # Define the virtual host configurtion for user domains
  5. #
  6. ##################################################
  7. ##################################################
  8.  
  9. # BEGIN: HTTP vhosts list
  10.  
  11. <VirtualHost 142.4.0.142:8080>
  12.   ServerName community.deschutesdesigngroup.com
  13.     ServerAlias mail.community.deschutesdesigngroup.com www.community.deschutesdesigngroup.com
  14.   DocumentRoot /home/comdeschutes/public_html
  15.   ServerAdmin webmaster@community.deschutesdesigngroup.com
  16.   UseCanonicalName Off
  17.  
  18.   ## User comdeschutes # Needed for Cpanel::ApacheConf
  19.   <IfModule userdir_module>
  20.     <IfModule !mpm_itk.c>
  21.       <IfModule !ruid2_module>
  22.         <IfModule !mod_passenger.c>
  23.           UserDir enabled comdeschutes
  24.         </IfModule>
  25.       </IfModule>
  26.     </IfModule>
  27.   </IfModule>
  28.  
  29.   # Enable backwards compatible Server Side Include expression parser for Apache versions >= 2.4.
  30.   # To selectively use the newer Apache 2.4 expression parser, disable SSILegacyExprParser in
  31.   # the user's .htaccess file.  For more information, please read:
  32.   #    http://httpd.apache.org/docs/2.4/mod/mod_include.html#ssilegacyexprparser
  33.   <IfModule include_module>
  34.     <Directory "/home/comdeschutes/public_html">
  35.       SSILegacyExprParser On
  36.     </Directory>
  37.   </IfModule>
  38.  
  39.   <IfModule suphp_module>
  40.     suPHP_UserGroup comdeschutes comdeschutes
  41.   </IfModule>
  42.   <IfModule suexec_module>
  43.     <IfModule !mod_ruid2.c>
  44.       SuexecUserGroup comdeschutes comdeschutes
  45.     </IfModule>
  46.   </IfModule>
  47.   <IfModule ruid2_module>
  48.     RMode config
  49.     RUidGid comdeschutes comdeschutes
  50.   </IfModule>
  51.   <IfModule mpm_itk.c>
  52.     # For more information on MPM ITK, please read:
  53.     #   http://mpm-itk.sesse.net/
  54.     AssignUserID comdeschutes comdeschutes
  55.   </IfModule>
  56.   <IfModule mod_passenger.c>
  57.     PassengerUser comdeschutes
  58.     PassengerGroup comdeschutes
  59.   </IfModule>
  60.  
  61.   <IfModule alias_module>
  62.     ScriptAlias /cgi-bin/ /home/comdeschutes/public_html/cgi-bin/
  63.   </IfModule>
  64.  
  65.     # Global DCV Rewrite Exclude
  66.     <IfModule rewrite_module>
  67.         RewriteOptions Inherit
  68.     </IfModule>
  69.  
  70.   # To customize this VirtualHost use an include file at the following location
  71.   # Include "/etc/apache2/conf.d/userdata/std/2_4/comdeschutes/community.deschutesdesigngroup.com/*.conf"
  72. </VirtualHost>
  73.  
  74. <VirtualHost 142.4.0.142:8080>
  75.   ServerName deschutesdesigngroup.com
  76.     ServerAlias mail.deschutesdesigngroup.com www.deschutesdesigngroup.com
  77.   DocumentRoot /home/deschutesdesign/public_html
  78.   ServerAdmin webmaster@deschutesdesigngroup.com
  79.   UseCanonicalName Off
  80.  
  81.   ## User deschutesdesign # Needed for Cpanel::ApacheConf
  82.   <IfModule userdir_module>
  83.     <IfModule !mpm_itk.c>
  84.       <IfModule !ruid2_module>
  85.         <IfModule !mod_passenger.c>
  86.           UserDir enabled deschutesdesign
  87.         </IfModule>
  88.       </IfModule>
  89.     </IfModule>
  90.   </IfModule>
  91.  
  92.   # Enable backwards compatible Server Side Include expression parser for Apache versions >= 2.4.
  93.   # To selectively use the newer Apache 2.4 expression parser, disable SSILegacyExprParser in
  94.   # the user's .htaccess file.  For more information, please read:
  95.   #    http://httpd.apache.org/docs/2.4/mod/mod_include.html#ssilegacyexprparser
  96.   <IfModule include_module>
  97.     <Directory "/home/deschutesdesign/public_html">
  98.       SSILegacyExprParser On
  99.     </Directory>
  100.   </IfModule>
  101.  
  102.   <IfModule suphp_module>
  103.     suPHP_UserGroup deschutesdesign deschutesdesign
  104.   </IfModule>
  105.   <IfModule suexec_module>
  106.     <IfModule !mod_ruid2.c>
  107.       SuexecUserGroup deschutesdesign deschutesdesign
  108.     </IfModule>
  109.   </IfModule>
  110.   <IfModule ruid2_module>
  111.     RMode config
  112.     RUidGid deschutesdesign deschutesdesign
  113.   </IfModule>
  114.   <IfModule mpm_itk.c>
  115.     # For more information on MPM ITK, please read:
  116.     #   http://mpm-itk.sesse.net/
  117.     AssignUserID deschutesdesign deschutesdesign
  118.   </IfModule>
  119.   <IfModule mod_passenger.c>
  120.     PassengerUser deschutesdesign
  121.     PassengerGroup deschutesdesign
  122.   </IfModule>
  123.  
  124.   <IfModule alias_module>
  125.     ScriptAlias /cgi-bin/ /home/deschutesdesign/public_html/cgi-bin/
  126.   </IfModule>
  127.  
  128.     # Global DCV Rewrite Exclude
  129.     <IfModule rewrite_module>
  130.         RewriteOptions Inherit
  131.     </IfModule>
  132.  
  133.     <IfModule proxy_fcgi_module>
  134.         <FilesMatch \.(phtml|php[0-9]*)$>
  135.             SetHandler proxy:unix:/opt/cpanel/ea-php73/root/usr/var/run/php-fpm/93fbddddd07882975bae06b3838eee443cac0ff3.sock|fcgi://deschutesdesigngroup.com
  136.         </FilesMatch>
  137.     </IfModule>
  138.  
  139.   # To customize this VirtualHost use an include file at the following location
  140.   # Include "/etc/apache2/conf.d/userdata/std/2_4/deschutesdesign/deschutesdesigngroup.com/*.conf"
  141. </VirtualHost>
  142.  
  143. <VirtualHost 142.4.0.142:8080>
  144.   ServerName solutions.deschutesdesigngroup.com
  145.     ServerAlias mail.solutions.deschutesdesigngroup.com www.solutions.deschutesdesigngroup.com
  146.   DocumentRoot /home/soldeschutes/public_html
  147.   ServerAdmin webmaster@solutions.deschutesdesigngroup.com
  148.   UseCanonicalName Off
  149.  
  150.   ## User soldeschutes # Needed for Cpanel::ApacheConf
  151.   <IfModule userdir_module>
  152.     <IfModule !mpm_itk.c>
  153.       <IfModule !ruid2_module>
  154.         <IfModule !mod_passenger.c>
  155.           UserDir enabled soldeschutes
  156.         </IfModule>
  157.       </IfModule>
  158.     </IfModule>
  159.   </IfModule>
  160.  
  161.   # Enable backwards compatible Server Side Include expression parser for Apache versions >= 2.4.
  162.   # To selectively use the newer Apache 2.4 expression parser, disable SSILegacyExprParser in
  163.   # the user's .htaccess file.  For more information, please read:
  164.   #    http://httpd.apache.org/docs/2.4/mod/mod_include.html#ssilegacyexprparser
  165.   <IfModule include_module>
  166.     <Directory "/home/soldeschutes/public_html">
  167.       SSILegacyExprParser On
  168.     </Directory>
  169.   </IfModule>
  170.  
  171.   <IfModule suphp_module>
  172.     suPHP_UserGroup soldeschutes soldeschutes
  173.   </IfModule>
  174.   <IfModule suexec_module>
  175.     <IfModule !mod_ruid2.c>
  176.       SuexecUserGroup soldeschutes soldeschutes
  177.     </IfModule>
  178.   </IfModule>
  179.   <IfModule ruid2_module>
  180.     RMode config
  181.     RUidGid soldeschutes soldeschutes
  182.   </IfModule>
  183.   <IfModule mpm_itk.c>
  184.     # For more information on MPM ITK, please read:
  185.     #   http://mpm-itk.sesse.net/
  186.     AssignUserID soldeschutes soldeschutes
  187.   </IfModule>
  188.   <IfModule mod_passenger.c>
  189.     PassengerUser soldeschutes
  190.     PassengerGroup soldeschutes
  191.   </IfModule>
  192.  
  193.   <IfModule alias_module>
  194.     ScriptAlias /cgi-bin/ /home/soldeschutes/public_html/cgi-bin/
  195.   </IfModule>
  196.  
  197.     # Global DCV Rewrite Exclude
  198.     <IfModule rewrite_module>
  199.         RewriteOptions Inherit
  200.     </IfModule>
  201.  
  202.     <IfModule proxy_fcgi_module>
  203.         <FilesMatch \.(phtml|php[0-9]*)$>
  204.             SetHandler proxy:unix:/opt/cpanel/ea-php73/root/usr/var/run/php-fpm/055e4f593fe75af3b65c93549f5b69741880d84f.sock|fcgi://solutions.deschutesdesigngroup.com
  205.         </FilesMatch>
  206.     </IfModule>
  207.  
  208.   # To customize this VirtualHost use an include file at the following location
  209.   # Include "/etc/apache2/conf.d/userdata/std/2_4/soldeschutes/solutions.deschutesdesigngroup.com/*.conf"
  210. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement