Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Modifying USER AGENT with mod_rewrite blombo msg:1501689 12:22 pm on Jan 19, 2004 (gmt 0) Hi,
is it possible to set the user agent to static value with mod_rewrite?
So, every requesting user agent should be rewritten to anything like "NotExistingBrowser"
I have an apache 1.3.27 with mod_rewrite, mod_proxy enabled.
RewriteRule .* - [E=HTTP_USER_AGENT:NotExistingBrowser]
but it didn't work.
Thanks a lot,
bird msg:1501690 12:28 pm on Jan 19, 2004 (gmt 0)
I don't expect this to be possible.
What would the point be? You'd only be falsifying your own log files, and you can edit those later to your liking anyway.
blombo msg:1501691 12:35 pm on Jan 19, 2004 (gmt 0)
The Problem is the Exchange 2003 Web Access.
If you use it with Internet Explorer and mod_rewrite/proxy everything goes wrong, if you use it with any other browser itīll work. So, if I'm able to hardcode the user agent, it will also work with Internet Explorer