httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <christian.fol...@post.ch>
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

-- 
Christian Folini, IT 222
Webserver Security Engineer


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


Hi,

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.

regards
	Harald



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


Mime
View raw message