According to the Apache Documentation a line such as: --- inserted into httpd.conf ---- ServerTokens ProductOnly ----end insertion into httpd.conf --- Included in the httpd.conf file should only display the product i.e. "apache" However, after adding the above line to the httpd.conf, then performing a: /etc/rc.d/init.d/httpd restart it still shows the RedHat version and module info. See the output... --- Begin console output --- web2: # cat /etc/redhat-release Red Hat Linux release 6.2 (Zoot) web2: # telnet localhost 80 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. HTTP://1.1 POST SFHKSDS HTTP/1.1 400 Bad Request Date: Mon, 10 Jul 2000 22:48:58 GMT Server: Apache/1.3.12 (Unix) (Red Hat/Linux) PHP/3.0.15 mod_perl/1.21 Connection: close Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>400 Bad Request</TITLE> </HEAD><BODY> <H1>Bad Request</H1> Your browser sent a request that this server could not understand.<P> Invalid URI in request HTTP://1.1 POST SFHKSDS<P> </BODY></HTML> Connection closed by foreign host. --- End console output ---
The only valid values I see in the documentation are "Min", "OS", and "Full", but this is a bug: "(Red Hat/Linux)" should not be displayed if the value is "Min". This will be fixed in apache-1.3.12-17 and later.