[TriLUG] apache reporting as....
Ryan Leathers
ryan.leathers at globalknowledge.com
Tue Oct 14 13:36:56 EDT 2003
A couple of things I have used:
If its OK to show up as Apache and you just want to hide the REALLY
juicy details then add >> ServerTokens ProductOnly in your httpd.conf
If you need to make it look like IIS or Netscape or something then
you'll also want to edit httpd.h and change:
define SERVER_BASEVENDOR "Apache Group"
define SERVER_BASEPRODUCT "Apache"
define SERVER_BASEREVISION "0.0.0"
-Ryan
On Tue, 2003-10-14 at 13:14, Ryan Wheaton wrote:
> hey guys,
>
> this is probably a really silly question, but i can't come up with
> results from google'in (probably because it's not possible), but is
> there a way to get apache to mask itself as something else? like, when
> i do this:
>
> [ryanwheaton at ryan 11:02:39 ryan]$ telnet my.webserver.com 80
> Trying 192.168.15.10...
> Connected to my.webserver.com.
> Escape character is '^]'.
> GET / HTTP/1.1
>
> HTTP/1.1 400 Bad Request
> Date: Tue, 14 Oct 2003 17:05:27 GMT
> Server: Apache
> Connection: close
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=iso-8859-1
>
> is there a way to set it to say something else than "Server: Apache"??
>
> i looked around the httpd.conf file a bit, but didn't really come up
> with anything.
>
> -r
--
Ryan Leathers <ryan.leathers at globalknowledge.com>
Global Knowledge
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20031014/fa99fcd4/attachment.pgp>
More information about the TriLUG
mailing list