I would like to when I look at the site example.com that the css (exemple.css) of the server file is blocked and instead that privoxy uses the file perso.css on my server lighttpd (localhost)
in the default.action file :
+redirect{http://localhost/perso.css} }
exemple.com/stylesheet\exemple.css
Privoxy continues to load the CSS from the remote server.
Thanks in advance for your time
Ps : Debian Sid up to date, Privoxy 3.0.24-1, Firefox 45 ESR
Please reproduce the problem with logging enabled as described at:
http://www.privoxy.org/user-manual/contact.html
and provide a log excerpt.
Note that your example seems to lack a "{" at the beginning.
Also note that some browsers don't honour redirects to
"local" resources (this does not prevent Privoxy from
sending the redirect, though).
sorry to forget the "{" it is in the default.action, I tried using css uploaded to a remote server, the problem is the same, i add logfile. Thanks
Your log only shows CONNECT requests which are used for https://.
Path patterns don't work for CONNECT requests and most browsers
will not accept unencrypted redirects as response for https://
requests anyway:
http://www.privoxy.org/faq/misc.html#AEN909
Changing this is on the TODO list:
http://ijbswa.cvs.sourceforge.net/viewvc/ijbswa/current/TODO?view=markup#l59