Dan Nelson schrieb:
> I'm running Apache 2.0 on Debian Sarge.
> 
> I have a non-standard application for Apache, and don't want to send any
> headers in the response.  I thought I'd be able to do so using
> mod_headers.
> 
> I can use the 'Header' directive to add my own header, and then append
> to and unset it.  But using the same syntax, I can't have any effect on
> the standard headers such as 'Server:' and 'Date:'.
> 
> Header unset Server
> Header append Server "hello world"
> Header unset Connection:
> 
> None of the above has any effect.  These statements are in a virtual
> host section.

We use:

<VirtualHost *:80>
...
Header set Server "This is the new header"
...

on apache-2.2.3.

cheers
 Paul



---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to