Five ways to help secure Apache on Linux

Written By
JW
Jack Wallen
Jul 14, 2009

“With that said, let’s get our Apache security on!

“1. Update, update, update! One of the biggest no nos Linux
administrators make is to “set it and forget it”. This
should not be your standard policy. There are always updates that
close new holes and patch security flaws. This holds true for
Apache as much as it does any other system or application. Keep
watch, using your normal means of update, for any security update
for Apache or any constituent component you have installed. By
doing this you will ensure your web server is safe from any new
known issues.

“2. Disable modules you do not use. If you check the Apache
configuration file. Most often this file is called httpd.conf and
its location will depend upon what distribution you are running
(For example CentOS has this file in /etc/httpd/conf/ whereas
Ubuntu locates it in /etc/apache2). If you examine that file you
will see quite a few modules listed. These modules will look
like:”

Advertisement


Complete Story

JW

Jack Wallen

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.