Search squid archive

Re: Re: passing request headers to url_rewrite program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16/03/11 23:50, Deepak Rao wrote:
Hi,

I have a requirement where, based on a request header value
(User-Agent), the url will be rewritten accordingly.

Any idea on how to achieve this?

Not with re-writers. They take a URL and produce a new URL. That is their purpose and entire capability.

If the logic is simple enough you could do it with a redirect instead. deny_info bouncing to a new URL based on any ACL tests.It may need a very recent Squid to get deny_info dynamic-URL tags.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.11
  Beta testers wanted for 3.2.0.5


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux