You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tomasz Chmielewski <ma...@interia.pl> on 2004/07/01 09:28:50 UTC
[users@httpd] mod_proxy and mod_rewrite (?) - is it possible to change HTTP headers
(user agent)?
Hello,
I sent this message to this list, but to date got no answer.
So my second big problem is:
Is it possible to replace HTTP headers in Apache 2 working in a forward
proxy mode (change HTTP headers - HTTP_USER_AGENT - sent by users web
browser, i.e. from Internet Explorer to Mozilla etc.)?
In Squid one would use something like below:
header_replace User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.5) Gecko/20031007
which would change user's User_agent header being sent to a remote web
server to Mozilla (i.e. from IE).
How can I achieve a similar result with Apache 2?
Regards,
Tomasz Chmielewski
---------------------------------------------------------------------
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