Mirzoni wrote:
Hello , i would like to ask maybe old-new question and this is : Is posibile to turn of showing version of apache and modules instaled when i telnet on web server to port 80 and type get HTTP/1.1 somefile.htm and then i get this what i dont want to be shown , for example
telnet somehost 80 Trying somehost... Connected to somehost. Escape character is '^]'. get HTTP/1.1 somefile.htm
HTTP/1.1 400 Bad Request Date: day, date ti:me GMT Server: Apache/1.3.23 (Unix) PHP/4.1.2 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 get HTTP/1.1 somefile.htm<P> <EN> <ADDRESS>Apache/1.3.23 Server at www.mywebserver.domain Port 80</ADDRESS> </BODY></HTML> Connection closed by foreign host.
Sorry but i did not can find any useful request in mail list archives
Thanks in advance
Try this apache directive: ServerTokens. http://httpd.apache.org/docs/mod/core.html#servertokens