Welcome to WebmasterWorld Guest from 126.96.36.199 , 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
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,
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.
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