Blog | G5 Cyber Security

AWS Load Balancer: Hide Apache Server Version

TL;DR

Your AWS Load Balancer might be revealing your backend Apache server version in the response headers, which is a security risk. This guide shows you how to hide it.

Solution Guide

  1. Understand the Risk
  • Access Your EC2 Instance(s)
  • Edit the Apache Configuration File
  • Modify the ServerTokens Directive
  • Modify the ServerSignature Directive
  • Restart Apache
  • Verify the Changes
  • Repeat for All Instances
  • Exit mobile version