You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Perl Whore <wh...@gmail.com> on 2009/12/17 17:33:59 UTC

[users@httpd] Is it possible to disable the Server header from mod_proxy destination?

I'm using the [P] flag with mod_rewrite to forward requests to an
internal application server but the Server header returned is that of
the application server's and not Apache's. Is this the normal
behaviour? If it is, can I make Apache override that with the Apache
version instead?

---------------------------------------------------------------------
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] Is it possible to disable the Server header from mod_proxy destination?

Posted by Devraj Mukherjee <de...@gmail.com>.
Yes, you can use mod_headers to change the headers on the proxy.

On Fri, Dec 18, 2009 at 3:33 AM, Perl Whore <wh...@gmail.com> wrote:
> I'm using the [P] flag with mod_rewrite to forward requests to an
> internal application server but the Server header returned is that of
> the application server's and not Apache's. Is this the normal
> behaviour? If it is, can I make Apache override that with the Apache
> version instead?
>
> ---------------------------------------------------------------------
> 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
>
>



-- 
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)

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