You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by paul <pa...@subsignal.org> on 2006/11/23 10:18:28 UTC
[users@httpd] Re: mod_headers
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Re: mod_headers
Posted by Transcom <da...@transcom.com.au>.
> We use:
>
> <VirtualHost *:80>
> ...
> Header set Server "This is the new header"
> ...
>
> on apache-2.2.3.
Doesn't work for me, maybe it doesn't work for 2.0.
Thanks
Dan
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org