Re: Change Response header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/25/07, Dummy <thangcof@xxxxxxxxxxxx> wrote:


When I make a request to my local server, I always receive a response header
like this:


HTTP/1.1 200 OK

Date: Wed, 25 Apr 2007 18:31:04 GMT

Server: Apache/2.0.55 (Win32) PHP/5.2.0

 How can I change the infomation in these attributes from Apache/2.0.55
(Win32) PHP/5.2.0 to MyServer for example( config somewhere or code
something to set the response)? Thanks for any responding.

1. You are wasting your time. Changing this line provides no real
benefits and can make debugging more difficult.

2. You can configure the Server header using the ServerTokens directive.

3. If you actually want to lie in the Server header, you need to
change the code and recompile: see include/ap_release.h.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux