Guest User

config

a guest
Nov 17th, 2015
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.00 KB | None | 0 0
  1. # config version: 20150625
  2. # staging version: 1.00.21
  3. # apache version: 2.4.12w-r02
  4. # date generated: 2015-11-17 15:24:09
  5. #
  6.  
  7. Include /wwws/apache/staging/global/includes/webops-all-begin.conf
  8. Include ${APACHE_INSTROOT}/conf/extra/httpd-languages.conf
  9. Include /wwws/apache/staging/global/includes/webops-autoindex.conf
  10.  
  11. LoadModule log_config_module ${APACHE_INSTROOT}/modules/mod_log_config.so
  12. LoadModule status_module ${APACHE_INSTROOT}/modules/mod_status.so
  13. LoadModule setenvif_module ${APACHE_INSTROOT}/modules/mod_setenvif.so
  14. LoadModule version_module ${APACHE_INSTROOT}/modules/mod_version.so
  15. LoadModule mime_module ${APACHE_INSTROOT}/modules/mod_mime.so
  16. LoadModule unixd_module ${APACHE_INSTROOT}/modules/mod_unixd.so
  17. LoadModule autoindex_module ${APACHE_INSTROOT}/modules/mod_autoindex.so
  18. LoadModule alias_module ${APACHE_INSTROOT}/modules/mod_alias.so
  19. LoadModule env_module ${APACHE_INSTROOT}/modules/mod_env.so
  20. LoadModule socache_shmcb_module ${APACHE_INSTROOT}/modules/mod_socache_shmcb.so
  21. LoadModule negotiation_module ${APACHE_INSTROOT}/modules/mod_negotiation.so
  22. LoadModule include_module ${APACHE_INSTROOT}/modules/mod_include.so
  23. LoadModule dir_module ${APACHE_INSTROOT}/modules/mod_dir.so
  24. LoadModule headers_module ${APACHE_INSTROOT}/modules/mod_headers.so
  25. LoadModule authz_core_module ${APACHE_INSTROOT}/modules/mod_authz_core.so
  26. LoadModule authz_host_module ${APACHE_INSTROOT}/modules/mod_authz_host.so
  27. LoadModule proxy_module ${APACHE_INSTROOT}/modules/mod_proxy.so
  28. LoadModule proxy_http_module ${APACHE_INSTROOT}/modules/mod_proxy_http.so
  29. LoadModule proxy_balancer_module ${APACHE_INSTROOT}/modules/mod_proxy_balancer.so
  30. LoadModule lbmethod_byrequests_module ${APACHE_INSTROOT}/modules/mod_lbmethod_byrequests.so
  31. LoadModule lbmethod_bybusyness_module ${APACHE_INSTROOT}/modules/mod_lbmethod_bybusyness.so
  32. LoadModule slotmem_shm_module ${APACHE_INSTROOT}/modules/mod_slotmem_shm.so
  33.  
  34. User blabla
  35. Group bla
  36. # medium-traffic profile
  37. <IfModule mpm_worker_module>
  38. StartServers 10
  39. ServerLimit 60
  40. MinSpareThreads 25
  41. MaxSpareThreads 250
  42. ThreadsPerChild 50
  43. MaxRequestWorkers 3000
  44. MaxConnectionsPerChild 0
  45. </IfModule>
  46.  
  47.  
  48. ServerTokens productonly
  49. ServerRoot ${APACHE_INSTROOT}
  50. DefaultRuntimeDir /var/tmp/apache_${APACHE_INSTANCE}
  51. PidFile ${DEFAULTRUNTIMEDIR}/httpd.pid
  52. TypesConfig ${APACHE_INSTROOT}/conf/mime.types
  53.  
  54. Listen 2323 https
  55. DocumentRoot ${APACHE_PROJ}/htdocs
  56. SSLProxyEngine on
  57. TraceEnable off
  58. TimeOut 300
  59. LimitRequestLine 4000
  60. ServerSignature off
  61. HostnameLookups off
  62. UseCanonicalName off
  63. ServerAdmin [email protected]
  64. <Proxy balancer://appcluster>
  65. BalancerMember https://server:12345 route=0
  66.  
  67. ProxySet lbmethod=bybusyness nofailover=off stickysession=JSESSIONIDAaa
  68. </Proxy>
  69.  
  70. LogLevel warn
  71. LogFormat "%h %V %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  72. CustomLog ${APACHE_PROJ}/logs/apache/${HOST}.access_log combined env=!dontlog
  73. ErrorLog ${APACHE_PROJ}/logs/apache/${HOST}.error_log
  74.  
  75. ProxyPreserveHost off
  76. ProxyPass /webops-error !
  77. ProxyPass /webops-global-icons !
  78. ProxyPass /webops-httpd-icons !
  79. ProxyPass /webops-balancer-manager !
  80. ProxyPass /uuu/ http://dispacher_uuu/uuu/
  81. ProxyPass /aaa/ https://dispacher_aaa/aaa/
  82.  
  83. ProxyPassMatch ^(.*\/Aaa\/.*(?:;.*)?)$ balancer://appcluster$1
  84. ProxyPassMatch ^(.*\/servlet\/.*(?:;.*)?)$ balancer://appcluster$1
  85. ProxyPassMatch ^(.*\.jsp(?:;.*)?)$ balancer://appcluster$1
  86. ProxyPassMatch ^(.*\.do(?:;.*)?)$ balancer://appcluster$1
  87. ProxyPassMatch ^(.*\.jsf(?:;.*)?)$ balancer://appcluster$1
  88.  
  89. ProxyPassReverse /uuu/ /uuu/
  90. ProxyPassReverse /aaa/ /aaa/
  91. ProxyPassReverse / balancer://appcluster/
  92.  
  93.  
  94. SSLEngine on
  95. SSLProtocol +TLSv1 +TLSv1.1 +TLSv1.2
  96. SSLCipherSuite EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+aRSA+AESCBC:EECDH:EDH+aRSA:!aNULL:!eNULL:!LOW:!RC4:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!SEED
  97. SSLCompression off
  98. SSLHonorCipherOrder on
  99. SSLProxyCheckPeerCN on
  100. SSLProxyCheckPeerName on
  101. SSLCertificateFile ${APACHE_PROJ}/config/ssl.crt/server.crt
  102. SSLCertificateKeyFile ${APACHE_PROJ}/config/ssl.key/server.key
  103. SSLCertificateChainFile /wwws/certs.intermediate/globalsign_organization_validation_ca_g2.0.pem
  104. SSLRandomSeed startup file:/dev/urandom 512
  105. SSLRandomSeed connect file:/dev/urandom 512
  106. SSLSessionCache shmcb:/var/tmp/${APACHE_INSTANCE}/ssl_gcache_data
  107. SSLSessionCacheTimeout 300
  108.  
  109. SetEnv proxy-initial-not-pooled 1
  110.  
  111. SetEnvIf Request_Method HEAD dontlog
  112. SetEnvIf BrowserMatch ".*MSIE [2-5]\..*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
  113.  
  114.  
  115. Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED
  116.  
  117.  
  118. Alias /webops-httpd-icons ${APACHE_INSTROOT}/icons
  119. Alias /webops-error /wwws/apache/staging/global/error
  120. Alias /webops-global-icons /wwws/apache/staging/global/icons
  121.  
  122.  
  123. <Directory />
  124. AllowOverride none
  125. Options -indexes +followsymlinks
  126. Require all denied
  127.  
  128.  
  129. </Directory>
  130. <Directory ${APACHE_PROJ}/htdocs>
  131. AllowOverride none
  132. Options -indexes -followsymlinks
  133. Require all granted
  134.  
  135.  
  136. </Directory>
  137. <Directory /wwws/apache/staging/global/error>
  138. AllowOverride none
  139. Options +includesnoexec
  140. AddOutputFilter Includes html
  141. AddHandler type-map var
  142. Require all granted
  143.  
  144.  
  145. LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
  146. ForceLanguagePriority prefer fallback
  147. </Directory>
  148. <Directory ${APACHE_INSTROOT}/icons/>
  149. AllowOverride none
  150. Options -indexes +multiviews
  151. Require all granted
  152.  
  153.  
  154. </Directory>
  155. <Directory /wwws/apache/staging/global/icons>
  156. AllowOverride none
  157. Options -indexes +multiviews
  158. Require all granted
  159.  
  160.  
  161. </Directory>
  162. <Location /webops-balancer-manager>
  163. SetHandler balancer-manager
  164. Require all denied
  165. Require ip 123.12.123.123
  166. Include /wwws/apache/staging/global/includes/webops-network-allow.conf
  167.  
  168.  
  169. <IfDefine EAM>
  170. Include ${APACHE_PROJ}/config/eam/eam.conf
  171.  
  172. </IfDefine>
  173. Include /wwws/apache/staging/global/includes/webops-status.conf
  174. Include /wwws/apache/staging/global/includes/webops-dontlog.conf
  175. Include /wwws/apache/staging/global/includes/webops-all-end.conf
Advertisement
Add Comment
Please, Sign In to add comment