Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName nomeexterno.dominio.com.br
- DocumentRoot /var/www/nomeexterno.dominio.com.br
- ErrorLog logs/nomeexterno.dominio.com.br_error_log
- TransferLog logs/nomeexterno.dominio.com.br_access_log
- Header edit* Location http://nomeinterno.dominio.com.br:porta http://nomeexterno.dominio.com.br
- RequestHeader unset Accept-Encoding
- Redirect /autorizador /autorizador/
- Redirect /images /images/
- Redirect /perfil /perfil/
- Redirect /perfilmedico /perfilmedico/
- Redirect /perfil-content /perfil/
- Redirect /sbioapplet /sbioapplet/
- Redirect / /autorizador/
- ProxyPass "/autorizador/" "http://nomeinterno.dominio.com.br:porta/autorizador/"
- ProxyPassReverse "/autorizador/" "http://nomeinterno.dominio.com.br:porta/autorizador/"
- ProxyPass "/images/" "http://nomeinterno.dominio.com.br:porta/images/"
- ProxyPassReverse "/images/" "http://nomeinterno.dominio.com.br:porta/images/"
- ProxyPass "/perfil/" "http://nomeinterno.dominio.com.br:porta/perfil/"
- ProxyPassReverse "/perfil/" "http://nomeinterno.dominio.com.br:porta/perfil/"
- ProxyPass "/perfilmedico/" "http://nomeinterno.dominio.com.br:porta/perfilmedico/"
- ProxyPassReverse "/perfilmedico/" "http://nomeinterno.dominio.com.br:porta/perfilmedico/"
- ProxyPass "/sbioapplet/" "http://nomeinterno.dominio.com.br:porta/sbioapplet/"
- ProxyPassReverse "/sbioapplet/" "http://nomeinterno.dominio.com.br:porta/sbioapplet/"
- <IfModule mod_security2.c>
- SecRuleRemoveById 960032
- </IfModule>
- <Location />
- Require all denied
- </Location>
- <Location /autorizador>
- Require all granted
- </Location>
- <Location /autorizador/j_security_check>
- <IfModule mod_security2.c>
- SecRuleRemoveById 960024
- </IfModule>
- Require all granted
- </Location>
- <Location /autorizador/pages/checkin/checkin.jsf>
- <IfModule mod_security2.c>
- SecRuleRemoveById 981246
- SecRuleRemoveById 960024
- </IfModule>
- Require all granted
- </Location>
- <Location /autorizador/pages/guides/v30200/sadtReg.jsf>
- <IfModule mod_security2.c>
- SecRuleRemoveById 960024
- </IfModule>
- Require all granted
- </Location>
- <Location /images>
- Require all granted
- </Location>
- <Location /perfil>
- AddOutputFilterByType SUBSTITUTE text/html text/css
- Substitute "s|iso-8859-1|UTF-8|ni"
- Require all granted
- </Location>
- <Location /perfilmedico>
- Require all granted
- </Location>
- <Location /sbioapplet>
- Require all granted
- </Location>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement