FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


middleware:httpd:centos_httpd2.4.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
middleware:httpd:centos_httpd2.4.html [2017/11/18 23:53]
kurihara ↷ Page moved from conf:httpd:httpd.conf_2.4.html to httpd:httpd.conf_2.4.html
middleware:httpd:centos_httpd2.4.html [2020/02/26 01:35] (current)
kurihara
Line 1: Line 1:
-[[conf:httpd:index.html|]] +[[middleware:httpd:index.html]] 
-====== httpd.conf for Apache httpd 2.4 ======+====== Apache httpd 2.4 Configuration for RHEL/CentOS ====== 
  
 ===== /etc/httpd/conf/httpd.conf ===== ===== /etc/httpd/conf/httpd.conf =====
Line 31: Line 32:
 <Directory "/var/www/html"> <Directory "/var/www/html">
     Options -Indexes FollowSymLinks     Options -Indexes FollowSymLinks
 +    # AllowOverride controls what directives may be placed in .htaccess files.
 +    # It can be "All", "None", or any combination of the keywords:
     AllowOverride All     AllowOverride All
     Require all granted     Require all granted
Line 42: Line 45:
     Require all denied     Require all denied
 </Files> </Files>
 +
 +<Location /server-status>
 +    #Permit Private IP
 +    Require ip 127.0.0.1 192.168.0.0/16 172.16.0.0/12 10.0.0.0/16
 +</Location>
  
 #------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
Line 81: Line 89:
 # 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
  
Line 88: Line 101:
  
  
- 
 \\ \\
 \\ \\
-[[conf:httpd:index.html|]]+<WRAP box 90%> 
 +<catlist -noAddPageButton -smallHead -sortAscending> 
 +</WRAP> 
 +\\ 
 +[[middleware:httpd:index.html]]


middleware/httpd/centos_httpd2.4.html.1511016827.txt.gz · Last modified: 2017/11/18 23:53 by kurihara