The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to hide apache version ??

Discussion in 'EasyApache' started by MethOd63, Jul 16, 2008.

  1. MethOd63

    MethOd63 Active Member

    Joined:
    Aug 20, 2007
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    For security reason i want to hide information like:

    Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6 mod_perl/2.0.4 Perl/v5.8.8

    How to do this ??? Anybody knows ??
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    To hide apache information, add the following lines in Apache configuration file /etc/apache2/apache2.conf

    ServerTokens ProductOnly
    ServerSignature Off

    After doing above you need to restart your web server using below command

    #/etc/init.d/apache2 restart
     
Loading...

Share This Page