Re: mod_headers

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

 



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: 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