how i remove apache header ?

Discussion in 'HOWTO-Related Questions' started by qwe010, Jul 13, 2007.

  1. qwe010

    qwe010 New Member

  2. Ben

    Ben ISPConfig Developer ISPConfig Developer

  3. mtuser

    mtuser New Member

    Last edited: Jul 13, 2007
  4. qwe010

    qwe010 New Member

    i do all that from the start

    but nothing changed
     
  5. qwe010

    qwe010 New Member

    up please any idea
     
  6. edge

    edge Active Member Moderator

    Did you restart Apache?

    Also note that when the toolbar.netcraft.com DID catch it with the Apache header, it will still show the info after adding
    Code:
    ServerSignature Off
    ServerTokens Prod
    I guess it will take some time to be removed again from the database..
     
    Last edited: Jul 14, 2007
  7. qwe010

    qwe010 New Member

    i do that from the start

    from 6 month

    and yes i restart it
     
  8. edge

    edge Active Member Moderator

    Do you have an other domain pointing to that server? if so, try it.
    I've just done it, and one domain that I tested before the ServerSignature Off, ServerTokens Prod change, does still show all the info. An other domain (same server) that I did not tested before, does not show the info.

    It's aslo not showing the info when I remove the www infront of my domain (I did the 1st test with www)
    When I add the www, it does show the info (same domain)
     
    Last edited: Jul 14, 2007
  9. mtuser

    mtuser New Member

  10. qwe010

    qwe010 New Member

    thanks mtuser,edge

    I understand what you means

    But they not effective

    i install firefox extension


    and it show


    Transfer-Encoding: chunked
    Date: Sat, 14 Jul 2007 20:53:54 GMT
    Content-Type: text/html
    Server: Apache/1.3.36 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.6
    X-Powered-By: PHP/4.4.6
    Via: 1.1 proxy1 (NetCache NetApp/5.3.1R4)

    200 OK

    :confused:
     
  11. MSudhakar07

    MSudhakar07 New Member

    Remove Apache header

    Hi

    Enable the mod_header module

    Append the below directive within the header tag

    <IfModule mod_headers.c>
    Header unset Server
    RequestHeader unset Server
    </IfModule>

    it will remove the apache header
     

Share This Page