Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost incolume.com.br:80>
- ServerName incolume.com.br
- ServerAlias www.incolume.com.br
- ServerAdmin webmaster@incolume.com.br
- Alias /favicon.ico "/var/www/html/favicon.ico"
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel warn
- ErrorLog logs/error.log
- ErrorLog logs/error_incolume.com.br.log
- CustomLog logs/access_incolume.com.br.log combined
- CustomLog logs/access.log combined
- Redirect / https://apore.incolume.com.br/
- <IfModule mod_rewrite.c>
- RewriteRule ^/(.*) https://incolume.com.br/$1 [R]
- </IfModule>
- </VirtualHost>
- <VirtualHost incolume.com.br:443>
- ServerName incolume.com.br
- ServerAlias www.incolume.com.br
- ServerAdmin webmaster@incolume.com.br
- Alias /favicon.ico "/var/www/html/favicon.ico"
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel warn
- ErrorLog logs/error.log
- ErrorLog logs/error_incolume.com.br.log
- CustomLog logs/access_incolume.com.br.log combined
- CustomLog logs/access.log combined
- TransferLog logs/ssl_access.log
- CustomLog logs/ssl_request.log \
- "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
- Alias /doc/ "/usr/share/doc/"
- <Directory "/usr/share/doc/">
- Options Indexes MultiViews FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
- Allow from 127.0.0.0/255.0.0.0 ::1/128
- </Directory>
- SSLEngine on
- SSLProtocol all -SSLv2
- SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
- SSLCertificateFilessl/svn1349967503.crt
- SSLCertificateKeyFilessl/svn1349967503.key
- #SSLCertificateChainFile ssl/redesaei-20110616.key
- SSLCACertificateFilessl/certpr.pem
- <FilesMatch "\.(cgi|shtml|phtml|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
- <Directory /usr/lib/cgi-bin>
- SSLOptions +StdEnvVars
- </Directory>
- BrowserMatch "MSIE [2-6]" \
- nokeepalive ssl-unclean-shutdown \
- downgrade-1.0 force-response-1.0
- # MSIE 7 and newer should be able to use keepalive
- BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
- Include vhosts/svn_ldap.conf
- <LocationMatch "^/join_form$">
- Order deny,allow
- deny from all
- Allow from 10.0.0.0/8 .in.dominio.com.br
- </LocationMatch>
- <LocationMatch "^/login_form$">
- Order deny,allow
- deny from all
- #Allow from 10.0.0.0/8 .in.dominio.com.br
- Allow from all
- </LocationMatch>
- <LocationMatch "manage(.*)">
- Order deny,allow
- deny from all
- #Allow from 10.0.0.0/8 .in.dominio.com.br
- </LocationMatch>
- <LocationMatch "/plone_control_panel">
- Order deny,allow
- deny from all
- #Allow from 10.0.0.0/8 .in.dominio.com.br
- </LocationMatch>
- <LocationMatch "/member_search_results">
- Order deny,allow
- deny from all
- #Allow from 10.0.0.0/8 .in.dominio.com.br
- </LocationMatch>
- <LocationMatch "^/prefs_users_overview">
- Order deny,allow
- Allow from 10.0.0.0/8 .in.dominio.com.br
- </LocationMatch>
- <IfModule mod_rewrite.c>
- RewriteEngine On
- # RewriteLog "/var/log/apache2/rewrite.log"
- # RewriteLogLevel 2
- RewriteRule ^/icons/ - [L]
- # Bloqueia verbos HTTP indesejados
- RewriteCond %{REQUEST_METHOD} !=GET
- RewriteCond %{REQUEST_METHOD} !=POST
- RewriteRule . / [F,L]
- #Bloqueia autenticacoes
- #RewriteCond %{HTTP:Authorization} Basic [OR]
- #RewriteCond %{HTTP:Cookie} _ac
- #RewriteRule . /404
- RewriteCond %{HTTP_HOST} ^rede\.incolume\.com\.br$
- RewriteRule ^/(.*) http://10.0.0.82/rede/$1 [L,P]
- </IfModule>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement