[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Changing HTTP header information
- Subject: Re: [cobalt-developers] Changing HTTP header information
- From: Sean Pecor <sean@xxxxxxxxxxxxxxxxxx>
- Date: Thu Jan 4 06:19:07 2001
- Organization: Digital Spinner, Inc.
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
On Wednesday 03 January 2001 17:44, you wrote:
> I would like to modify the Server header. Is this possible?
> I have searched the archives and I cant find the answer.
The previous suggestion regarding server tokens is a good one. Plus, if the
pages are PHP-enabled, you can add and change headers using the header()
function as in:
<?
Header("HTTP/1.1 $code $message");
Header ("Cache-Control: no-cache, must-revalidate");
?>
You must send these header before any html is sent (even prior to the <html>
tag).
Sean.
--
Digital Spinner, Inc.
802.948.2020
sean@xxxxxxxxxxxxxxxxxx