httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: AW: [users@httpd] Stripping or setting certain http response headerrs
Date Wed, 29 Oct 2008 14:25:17 GMT
In such cases, you work with environment variables.

The doc lists the following example:

SetEnvIf MyRequestHeader myvalue HAVE_MyRequestHeader
Header set MyHeader "%D %t mytext" env=HAVE_MyRequestHeader 

Alternatively you can set the environment variable via mod_rewrite
to allow for more complicated conditions.

hope this helps,


Christian Folini, IT 222
Webserver Security Engineer

-----Urspr√ľngliche Nachricht-----
Von: Harald Falkenberg [] 
Gesendet: Mittwoch, 29. Oktober 2008 15:14
An: Folini Christian, IT222 extern
Betreff: Re: AW: [users@httpd] Stripping or setting certain http response headerrs


yes, I saw it already. But how to change http response headers only in certain cases? For
certain user agents?

If you can give me an example, that would be nice.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message