[Xitami] How to turn off HTTP header information like 'Server'

Thomas Felz xitami@lists.xitami.org
Tue, 18 May 2004 10:43:47 +0200


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C43CB4.3C683A60
Content-Type: text/plain

Hi all,
 
I want to make Xitami "anonymous" to illegal requests. One very importing is
to suppress some HTTP headers, in particular "Server".
 
As I understood right, it's enough to place a file header.<extension> in
"header-dir". I tried it with "header.php" for PHP-Scripts. This file
contains only one row
Server: Unknown
 
If I now retrieve a PHP script from my client, the HTTP-header "Server" is
already transmitted with the value "Xitami".
 
Does anybody have experience with HTTP headers and first of all an idea how
to solve this problem?
 
 
 
Regards
 
Thomas Felz
Waldbrenner AG
Mannheim, Germany
 

------_=_NextPart_001_01C43CB4.3C683A60
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Nachricht</TITLE>

<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=581041808-18052004><FONT size=2>Hi all,</FONT></SPAN></DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2>I want to make Xitami 
"anonymous" to illegal requests. One very importing is to suppress some HTTP 
headers, in particular "Server".</FONT></SPAN></DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2>As I understood right, it's 
enough to place a file header.&lt;extension&gt; in "header-dir". I tried it with 
"header.php" for PHP-Scripts. This file contains only one 
row</FONT></SPAN></DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2>Server: 
Unknown</FONT></SPAN></DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2>If I now retrieve a PHP script 
from my client, the HTTP-header "Server" is already transmitted with the value 
"Xitami".</FONT></SPAN></DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2>Does anybody have experience 
with HTTP headers and first of all an idea how to solve this 
problem?</FONT></SPAN></DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2>Regards</FONT></SPAN></DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2>Thomas Felz</FONT></SPAN></DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2>Waldbrenner 
AG</FONT></SPAN></DIV>
<DIV><SPAN class=581041808-18052004><FONT size=2>Mannheim, 
Germany</FONT></SPAN></DIV>
<DIV><SPAN class=581041808-18052004></SPAN>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C43CB4.3C683A60--