note 22478 deleted from function.header by vincent

From: Date: Sat, 23 Aug 2003 14:52:48 +0000
Subject: note 22478 deleted from function.header by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-54954@lists.php.net to get a copy of this message
Note Submitter: ryanN0SPAM@dewarproperties.com ---- Someone asked above how to change the Server: HTTP response header in Apache. Although you cannot change it dynamically in PHP, you do have some options in the httpd.conf file The option in httpd.conf that controls the Server: header is ServerTokens and it can be one of four values: VALUE MAKES Server: HEADER ------------------------------------------------- ProductOnly Server: Apache Minimal Server: Apache/1.3.0 OS Server: Apache/1.3.0 (UNIX) Full Server: Apache/1.3.0 (UNIX) PHP/3.0 mod_perl For example, in httpd.conf, add the line: ServerTokens Full to change the Server header to: Server: Apache/1.3.0 (UNIX) PHP/3.0 mod_perl If you want to change it to anything else, you'll have to edit the source code. I think the file to look at is http_core.c

« previous php.notes (#54954) next »