Hi, You can always turn it off by editing /etc/httpd/conf/httpd.conf and adding this line:
ServerTokens Prod Result: $ telnet 127.0.0.1 80 Trying 127.0.0.1... Connected to localhost (127.0.0.1). Escape character is '^]'. HEAD / HTTP/1.0 HTTP/1.1 200 OK Date: Sat, 20 Apr 2002 00:06:39 GMT Server: Apache-AdvancedExtranetServer Connection: close Content-Type: text/html Connection closed by foreign host. Edit /etc/httpd/conf/httpd-perl.conf and add the line there too. > To the poster asking about turning Apache's so called "advertising" off, > I find this to be an interesting question. It is not really advertising > in the strict sense of the word. It is what transpires during the http > protocol exchange. In this exchange, among other elements, machine and > web server software info is exchanged. Here is a typical example of such > an exchange: > > GET / HTTP/1.1 > Host: www.trismegistus.net > > HTTP/1.1 200 OK > Date: Fri, 19 Apr 2002 22:50:55 GMT > Server: Apache-AdvancedExtranetServer/1.3.22 (Linux-Mandrake/1.3mdk) > mod_ssl/2.8.5 OpenSSL/0.9.5a PHP/4.0.6 > Last-Modified: Wed, 13 Mar 2002 17:58:38 GMT > ETag: "15cf4-d45-3c8f934e" > Accept-Ranges: bytes > Content-Length: 3397 > Connection: close > Content-Type: text/html > > So you see that this is really a form of identification, not > "advertising". It is necessary for the exchange of this info so that one > machine can "talk" to another, using http, and ask for the web page that > the web server is running for the public. > > After all this having been said, I am not sure you can or would want to > turn this communication off. Maybe the resident Apache guru, Vincent, > can share some wisdom with us on this issue. > > BTW why do you want to turn this feature off? > > aka Dr John > -- > J. Craig Woods > UNIX/NT Network/System Administration > > -Art is the illusion of spontaneity- > > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com ---------------------------------------------------------- Hicham A. [EMAIL PROTECTED] PGP key : http://hicham.org/gpgkey.txt D599 D175 BC4D FAFD C902 353C EE51 DC73 B362 44FA ----------------------------------------------------------
msg52839/pgp00000.pgp
Description: PGP signature
