FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
middleware:httpd:centos_httpd2.4.html [2017/11/14 00:21] kurihara |
middleware:httpd:centos_httpd2.4.html [2020/02/26 01:35] (current) kurihara |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | [[conf: | + | [[middleware: |
| - | ====== | + | ====== Apache httpd 2.4 Configuration for RHEL/ |
| ===== / | ===== / | ||
| <sxh apache toolbar: | <sxh apache toolbar: | ||
| - | ############################################################### | + | #=============================================================================== |
| # / | # / | ||
| # -rw-r--r-- root root | # -rw-r--r-- root root | ||
| # | # | ||
| - | ############################################################### | + | #=============================================================================== |
| ServerRoot "/ | ServerRoot "/ | ||
| Listen 80 | Listen 80 | ||
| Line 31: | Line 32: | ||
| < | < | ||
| Options -Indexes FollowSymLinks | Options -Indexes FollowSymLinks | ||
| + | # AllowOverride controls what directives may be placed in .htaccess files. | ||
| + | # It can be " | ||
| AllowOverride All | AllowOverride All | ||
| Require all granted | Require all granted | ||
| Line 43: | Line 46: | ||
| </ | </ | ||
| + | < | ||
| + | #Permit Private IP | ||
| + | Require ip 127.0.0.1 192.168.0.0/ | ||
| + | </ | ||
| + | |||
| + | # | ||
| + | # log | ||
| + | # | ||
| ErrorLog " | ErrorLog " | ||
| LogLevel warn | LogLevel warn | ||
| Line 54: | Line 65: | ||
| CustomLog " | CustomLog " | ||
| </ | </ | ||
| - | |||
| - | < | ||
| - | ScriptAlias /cgi-bin/ "/ | ||
| - | </ | ||
| - | |||
| - | < | ||
| - | AllowOverride None | ||
| - | Options None | ||
| - | Require all granted | ||
| - | </ | ||
| < | < | ||
| Line 78: | Line 79: | ||
| MIMEMagicFile conf/magic | MIMEMagicFile conf/magic | ||
| </ | </ | ||
| + | |||
| EnableSendfile on | EnableSendfile on | ||
| Line 83: | Line 85: | ||
| - | #Security | + | |
| + | # | ||
| + | # Security | ||
| + | # | ||
| + | # Prod=Product Minimize HTTP reply header | ||
| ServerTokens Prod | ServerTokens Prod | ||
| + | |||
| + | # Suppress error page footer | ||
| ServerSignature Off | ServerSignature Off | ||
| + | |||
| + | # Disable Trace Medhod | ||
| TraceEnable Off | TraceEnable Off | ||
| + | |||
| </ | </ | ||
| - | |||
| \\ | \\ | ||
| \\ | \\ | ||
| - | [[conf: | + | <WRAP box 90%> |
| + | <catlist -noAddPageButton -smallHead -sortAscending> | ||
| + | </ | ||
| + | \\ | ||
| + | [[middleware: | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.