cmdref.net - Command Reference

This site is command references for system engineers.

User Tools

Site Tools


Top     SiteMap

Sidebar

Top     SiteMap








Etc


Reference











.

middleware:web:httpd:index.html



Middleware

Apache HTTP Server

References

Installing

Commands

configtest

Environment Commands Note
Source /usr/local/apache2/bin/apachectrl configtest
RHEL7/CentOS7 apachectl configtest
httpd -t
RHEL6/CentOS6
RHEL5/CentOS5
/etc/init.d/httpd configtest
service httpd configtest


Configuration

Performance

How to Check

Security

  • RC4

Dissable Apache Signature and Banner

ConfigurationNote
ServerTokens Prod This directive configures what you return as the Server HTTP response Header
Prod or ProductOnly
Prod displays “Server:Apache”
ServerSignature Off Optionally add a line containing the server version and virtual host name to server-generated pages
TraceEnable Off The 'HTTP TRACE' request is used as a debugging tool eo echo all the received information.

Disable directory Indexing

<Directory /var/www/html>
  Options -Indexes
</Directory>

Restrict Access to 'Root' directory

<Directory />
  Options None
  AllowOverrride None
  Order allow,deny
  Allow from all
</Directory>



middleware/web/httpd/index.html.txt · Last modified: 2017/05/06 by admin