How to remove default banner from web server from response - Apache http1.1 coyote

Please let me know how can I remove the default banner from the webserver from the response - Apache http1.1 coyote

0


source to share


2 answers


If you are talking about the generated line at the bottom of the generated apache pages, you need to update your httpd.conf with this command:

ServerSignature Off

      

See http://httpd.apache.org/docs/2.2/mod/core.html#serversignature



Be careful, abstract information is also sent via HTTP headers. You can change them with the directive

About Coyote, AFAIK there is no key to hide this information.

+1


source


There will be an element in server.xml <Connector>

. Add an attribute to it server

. For example:

<Connector executor="tomcatThreadPool"
    port="80" protocol="HTTP/1.1"
    server=" "
    ...
/>

      

Unfortunately, setting the attribute server

to an empty string does not cause any change in behavior. Setting server

to a line with one space results in a title like:



Server:  

      

Until it is optimal, it progresses.

0


source







All Articles