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.

ServerInformation OFF?

Discussion in 'General Discussion' started by ckizer, Apr 7, 2005.

  1. ckizer

    ckizer Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    16
    How can I get serverinformation to actually be off? I modified it in httpd.conf however using whois.sc/anydomain.com here you'll still see this with all cpanel hosts:

    Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.10 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a

    How do I hide this?
     
  2. Aric1

    Aric1 Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    whois.sc caches results from previous scans, so I wouldn't go by them.
     
  3. hostultra

    hostultra Well-Known Member

    Joined:
    Aug 21, 2002
    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    16
    Theres nothing called ServerInformation
    So i will assume you mean ServerSignature.

    Signature is the signature in server error messages not the headers.
    You need to use

    ServerTokens ProductOnly
     
  4. ckizer

    ckizer Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    16
    okay i'll use that. Thank you very much. Any downsides?
     
  5. hostultra

    hostultra Well-Known Member

    Joined:
    Aug 21, 2002
    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    16
    No downsides that i can think of.
    All it does is prevent version numbers and module information being public.

    You may also want to set expose_php to off in the php.ini to stop php giving its version number in the headers.
     
Loading...

Share This Page