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 | ||
linux_wiki:network_services_overview_apache_web_server [2016/10/06 21:15] billdozor [Use SELinux port labeling to allow services to use non-standard ports] |
linux_wiki:network_services_overview_apache_web_server [2018/04/07 15:58] billdozor [Host Based] |
||
---|---|---|---|
Line 12: | Line 12: | ||
* Configure the service for basic operation | * Configure the service for basic operation | ||
* Configure host-based and user-based security for the service | * Configure host-based and user-based security for the service | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Lab Setup ====== | ||
+ | |||
+ | The following virtual machines will be used: | ||
+ | * server1.example.com (192.168.1.150) -> Perform all connectivity tests from here | ||
+ | * server2.example.com (192.168.1.151) -> Install Apache Web Server here | ||
---- | ---- | ||
Line 133: | Line 141: | ||
/ | / | ||
<code bash> | <code bash> | ||
- | <RequireAll> | + | <Directory "/ |
- | Require host myserver.local | + | |
- | Require not host notmyserver.local | + | #Require all granted |
- | </ | + | |
+ | # No tests can fail | ||
+ | < | ||
+ | | ||
+ | Require not host notmyserver.local | ||
+ | </ | ||
+ | |||
+ | </ | ||
</ | </ | ||
* The above will allow access from myserver.local, | * The above will allow access from myserver.local, | ||
+ | * Must be inside of a < | ||
===== User Based ===== | ===== User Based ===== | ||