Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried this in the user.action file:

{ +redirect{s@http://www.google.*/search@https://encrypted.google.com/search@} }

But it doesn't work. My goal is to redirect from this:


to this:


It could be de, pl, etc.; that's why I need the *.

share|improve this question
up vote 4 down vote accepted

This rule works for me with TLD's .de, .pl:


You will find great examples how to use redirect in the Privoxy Action Files: redirect section documentation.

If you want to debug your rules enable debug 128 in the main configuration file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.