Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorial:adm:server_preparation_tmp [2020/03/12 09:53] urbanl [2. JDBC driver installation - CentOS8 ] |
tutorial:adm:server_preparation_tmp [2020/03/12 12:50] urbanl [HTTPd installation and configuration] |
||
---|---|---|---|
Line 587: | Line 587: | ||
ProxyPreserveHost on | ProxyPreserveHost on | ||
ProxyAddHeaders on | ProxyAddHeaders on | ||
- | ProxyPass / ajp:// | + | ProxyPass / ajp:// |
- | ProxyPassReverse / ajp:// | + | ProxyPassReverse / ajp:// |
</ | </ | ||
Line 631: | Line 631: | ||
</ | </ | ||
+ | Allow in SELINUX to httpd connect to network: | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
Enable httpd after OS start: | Enable httpd after OS start: | ||
<code bash> | <code bash> | ||
Line 694: | Line 699: | ||
</ | </ | ||
- | ==== mod_security configuration - CentOS7 | + | ==== mod_security configuration - CentOS8 |
- | In the file / | + | In the file / |
- | Whole rule after the changes looks like this: | + | Whole rules after the changes looks like this: |
< | < | ||
- | SecAction | + | # Default HTTP policy: allowed_methods (rule 900200) |
- | "id:' | + | SecRule & |
- | phase:1, \ | + | "id:901160,\ |
- | | + | phase:1,\ |
- | setvar:' | + | |
- | setvar:' | + | nolog,\ |
- | setvar:' | + | setvar:' |
- | setvar:' | + | |
- | setvar:' | + | # Default HTTP policy: allowed_request_content_type (rule 900220) |
- | nolog, \ | + | SecRule & |
- | pass" | + | " |
+ | | ||
+ | pass,\ | ||
+ | nolog,\ | ||
+ | | ||
</ | </ | ||
Line 806: | Line 815: | ||
====== INSTALACTNI NAVOD ====== | ====== INSTALACTNI NAVOD ====== | ||
+ | <note important> | ||
==== 2. JDBC driver installation - CentOS8 ==== | ==== 2. JDBC driver installation - CentOS8 ==== | ||
**CentOS** | **CentOS** |