Here are 20 things you can do to make your apache configuration more secure.
-
First, make sure you’ve installed latest security patches
-
Hide the Apache Version number, and other sensitive information.
-
Make sure apache is running under its own user account and group
-
Ensure that files outside the web root are not served
-
Turn off directory browsing
-
Turn off server side includes
-
Turn off CGI execution
-
Don’t allow apache to follow symbolic links
-
Turning off multiple Options
-
Turn off support for .htaccess files
-
Run mod_security
-
Disable any unnecessary modules
-
Make sure only root has read access to apache’s config and binaries
-
Lower the Timeout value
-
Limiting large requests
-
Limiting the size of an XML Body
-
Limiting Concurrency
-
Restricting Access by IP
-
Adjusting KeepAlive settings
-
Run Apache in a Chroot environment
For more details, visit petefreitag.com




No Comments Yet