- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remove server banner in HTTP header
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2007 02:27 PM
тАО01-22-2007 02:27 PM
remove server banner in HTTP header
My app server under hpux 11.00 server.
We test our website using HTTP viewer the web server banner for some server information was diclose to public.
Where and how to remove the server banner in the HTTP header for this server configuration file?
Thanks
Fauziah Mahdan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2007 02:52 PM
тАО01-22-2007 02:52 PM
Re: remove server banner in HTTP header
See http://httpd.apache.org/docs/2.0/mod/core.html#servertokens for details.
After making the change to httpd.conf, sighup or restart apache.
If you want to completely remove or mask ServerTokens, you'll want to modify the source code then recompile apache.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2007 02:19 AM
тАО01-23-2007 02:19 AM
Re: remove server banner in HTTP header
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2007 08:01 PM
тАО01-25-2007 08:01 PM
Re: remove server banner in HTTP header
I already check the httpd.conf.
not sure which part to remove
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2007 11:26 PM
тАО01-25-2007 11:26 PM
Re: remove server banner in HTTP header
"ServerTokens Full" is the default directive if none is specified. If you don't see "ServerTokens ..." in httpd.conf, simply add "ServerTokens Prod" and restart Apache:
# /opt/hpws/apache/bin/apachectl stop
# /opt/hpws/apache/bin/apachectl start
This will shorten the HTTP response header from "Apache/1.3.12 (Unix) ..." to "Apache".
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2007 05:47 PM
тАО02-07-2007 05:47 PM
Re: remove server banner in HTTP header
What is the comamnd?
Thanks
Fauziah Mahdan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2007 07:08 PM
тАО02-07-2007 07:08 PM
Re: remove server banner in HTTP header
But here are some suggestions:
You can use hexedit to edit the httpd file direct and remove the Apache string.
Or you can edit the Apache source "include/ap_release.h" and recompile it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2007 07:57 PM
тАО02-07-2007 07:57 PM
Re: remove server banner in HTTP header
You could use Ivan Ristic's mod_security.
This module offers a SecServerSignature
directive (filter) that you could set to any
string that should be sent in the HTTP header of a server response.
Please, lookup SecServerSignature here:
http://www.modsecurity.org/documentation/modsecurity-apache/2.0.2/modsecurity2-apache-reference.html#N102F3
But mod_sec should be used for more compelling reason on any Apache that serves to the WWW.
It actually can be thought of as an HTTP firewall, similar to but far more flexible than an HTTP proxy.
You can setup any sort of filter rule against all sorts of attacks (which are originating mostly from unaware owners' zombie PCs).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2007 09:36 PM
тАО02-07-2007 09:36 PM
Re: remove server banner in HTTP header
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2007 10:52 PM
тАО02-07-2007 10:52 PM
Re: remove server banner in HTTP header
( can be downloaded from http://httpd.apache.org/ )
The other suggestion involves downloading hexedit http://hpux.cs.utah.edu/hppd/hpux/Development/Tools/hexedit-1.2.10/ and edit the httpd file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2007 12:19 PM
тАО02-08-2007 12:19 PM
Re: remove server banner in HTTP header
Yes actually we are using ApacheJserv version 1.3.12. I am lost now which file I should amend or change the setting?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2007 12:30 PM
тАО02-08-2007 12:30 PM
Re: remove server banner in HTTP header
you mention to add "ServerTokens Prod" and restart Apache:
then the server info will remain Apache without the version. What about if I want to remove all the server info.
Right now it was display as
HTTP/1.1 200 OK
Date: date today
Server: Apache/1.3.12 (unix) ApacheJserv/1.1 mod_ssl/2.6.4 OpenSSL/0.9.5a
Last Modified:date
Etag:code will display
Accept-Ranges:bytes
Content-Length:300
Connection:close
Content-Type:text/html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2007 04:46 PM
тАО02-08-2007 04:46 PM
Re: remove server banner in HTTP header
I have checked that my httpd.cong already set as
ServerSignature Off
ServerTokens Prod
but why the server info still display in details?