Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:network_services_overview_apache_web_server [2018/04/07 22:46] billdozor [Firewall] |
linux_wiki:network_services_overview_apache_web_server [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 44: | Line 44: | ||
* Service agnostic -> [[linux_wiki: | * Service agnostic -> [[linux_wiki: | ||
+ | * **IMPORTANT**: | ||
+ | yum install setools-console | ||
+ | |||
+ | # View all label types | ||
+ | seinfo -t | ||
+ | |||
+ | # Find Apache types | ||
+ | seinfo -t | grep httpd | ||
+ | </ | ||
---- | ---- | ||
Line 148: | Line 157: | ||
< | < | ||
| | ||
- | # Blacklist "evilserver.local" | + | # Blacklist "server1" |
< | < | ||
Require all granted | Require all granted | ||
- | Require not host evilserver.local | + | Require not host server1 |
</ | </ | ||
| | ||
</ | </ | ||
</ | </ | ||
- | * The above will allow access from all hosts except "evilserver.local" | + | * The above will allow access from all hosts except "server1" |
* Must be inside of a < | * Must be inside of a < | ||