document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <VirtualHost incolume.com.br:80>
  2. ServerName incolume.com.br
  3. ServerAlias www.incolume.com.br
  4. ServerAdmin webmaster@incolume.com.br
  5.  
  6. Alias /favicon.ico "/var/www/html/favicon.ico"
  7.  
  8. # Possible values include: debug, info, notice, warn, error, crit,
  9. # alert, emerg.
  10. LogLevel warn
  11.  
  12. ErrorLog logs/error.log
  13. ErrorLog logs/error_incolume.com.br.log
  14. CustomLog logs/access_incolume.com.br.log combined
  15. CustomLog logs/access.log combined
  16.  
  17. Redirect / https://apore.incolume.com.br/
  18. <IfModule mod_rewrite.c>
  19.     RewriteRule  ^/(.*)  https://incolume.com.br/$1  [R]
  20. </IfModule>
  21.  
  22. </VirtualHost>
  23.  
  24. <VirtualHost incolume.com.br:443>
  25. ServerName incolume.com.br
  26. ServerAlias www.incolume.com.br
  27. ServerAdmin webmaster@incolume.com.br
  28.  
  29. Alias /favicon.ico "/var/www/html/favicon.ico"
  30.  
  31. # Possible values include: debug, info, notice, warn, error, crit,
  32. # alert, emerg.
  33. LogLevel warn
  34.  
  35. ErrorLog logs/error.log
  36. ErrorLog logs/error_incolume.com.br.log
  37. CustomLog logs/access_incolume.com.br.log combined
  38. CustomLog logs/access.log combined
  39. TransferLog logs/ssl_access.log
  40. CustomLog logs/ssl_request.log \\
  41. "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \\"%r\\" %b"
  42.  
  43. Alias /doc/ "/usr/share/doc/"
  44. <Directory "/usr/share/doc/">
  45. Options Indexes MultiViews FollowSymLinks
  46. AllowOverride None
  47. Order deny,allow
  48. Deny from all
  49. Allow from 127.0.0.0/255.0.0.0 ::1/128
  50. </Directory>
  51.  
  52. SSLEngine on
  53. SSLProtocol all -SSLv2
  54. SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
  55. SSLCertificateFilessl/svn1349967503.crt
  56. SSLCertificateKeyFilessl/svn1349967503.key
  57. #SSLCertificateChainFile ssl/redesaei-20110616.key
  58. SSLCACertificateFilessl/certpr.pem
  59.  
  60. <FilesMatch "\\.(cgi|shtml|phtml|php)$">
  61. SSLOptions +StdEnvVars
  62. </FilesMatch>
  63. <Directory /usr/lib/cgi-bin>
  64. SSLOptions +StdEnvVars
  65. </Directory>
  66.  
  67. BrowserMatch "MSIE [2-6]" \\
  68. nokeepalive ssl-unclean-shutdown \\
  69. downgrade-1.0 force-response-1.0
  70. # MSIE 7 and newer should be able to use keepalive
  71. BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
  72.  
  73.  
  74. Include vhosts/svn_ldap.conf
  75.  
  76. <LocationMatch "^/join_form$">
  77. Order deny,allow
  78. deny from all
  79. Allow from 10.0.0.0/8 .in.dominio.com.br
  80. </LocationMatch>
  81.  
  82. <LocationMatch "^/login_form$">
  83. Order deny,allow
  84. deny from all
  85. #Allow from 10.0.0.0/8 .in.dominio.com.br
  86. Allow from all
  87. </LocationMatch>
  88.  
  89. <LocationMatch "manage(.*)">
  90. Order deny,allow
  91. deny from all
  92. #Allow from 10.0.0.0/8 .in.dominio.com.br
  93. </LocationMatch>
  94.  
  95. <LocationMatch "/plone_control_panel">
  96. Order deny,allow
  97. deny from all
  98. #Allow from 10.0.0.0/8 .in.dominio.com.br
  99. </LocationMatch>
  100.  
  101. <LocationMatch "/member_search_results">
  102. Order deny,allow
  103. deny from all
  104. #Allow from 10.0.0.0/8 .in.dominio.com.br
  105. </LocationMatch>
  106.  
  107. <LocationMatch "^/prefs_users_overview">
  108. Order deny,allow
  109. Allow from 10.0.0.0/8 .in.dominio.com.br
  110. </LocationMatch>
  111.  
  112. <IfModule mod_rewrite.c>
  113. RewriteEngine On
  114. # RewriteLog "/var/log/apache2/rewrite.log"
  115. # RewriteLogLevel 2
  116. RewriteRule ^/icons/ - [L]
  117.  
  118. # Bloqueia verbos HTTP indesejados
  119. RewriteCond %{REQUEST_METHOD} !=GET
  120. RewriteCond %{REQUEST_METHOD} !=POST
  121. RewriteRule . / [F,L]
  122. #Bloqueia autenticacoes
  123. #RewriteCond %{HTTP:Authorization} Basic [OR]
  124. #RewriteCond %{HTTP:Cookie} _ac
  125. #RewriteRule . /404
  126.  
  127. RewriteCond %{HTTP_HOST} ^rede\\.incolume\\.com\\.br$
  128. RewriteRule ^/(.*) http://10.0.0.82/rede/$1 [L,P]
  129. </IfModule>
  130. </VirtualHost>
');