Privoxy redirect rule for Wikipedia! :)
Jacob Mansfield
cyberjacob at gmail.com
Sun Mar 20 18:16:11 UTC 2011
looks line the pictures are on an HTTP only server
Jacob Mansfield
Programmer
CyberKing Solutions™
www.cyberkingsolutions.co.uk - I do know the database is down
"When Windows™ is opened the bugs come in."
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1-Jacob1
GCM/CS/CC/E/ED/MC/S/AT/! d++(---) s-: a--->? C++++ UL$++(++++)>$ P(+)
L$+++(++++)>$ E(?) W+++$ N(?)>+ o k(+/++) w---()>$ O? M(+)>$ V? PS(+) PE
Y(+)
PGP(+/++) t(+) 5?>+ X+ R(?) tv+ b++(+++) DI(+) D G(++) e-(*) h!-- !r
y(--)>+++++$
------END GEEK CODE BLOCK------
On 20 March 2011 15:56, johhny_at_poland77 <johhny_at_poland77 at zoho.com>wrote:
> Dear community!
>
> I have a few Privoxy rules, that can redirect HTTP Wikipedia [en,de]
> traffic to HTTPS:
> (a little part from the "user.action" file:)
>
> { +redirect{s@
> http://en.wikipedia.org/wiki/@https://secure.wikimedia.org/wikipedia/en/wiki/@}
> }
> .en.wikipedia.org
>
> { +redirect{s@
> http://de.wikipedia.org/wiki/@https://secure.wikimedia.org/wikipedia/de/wiki/@}
> }
> .de.wikipedia.org
>
> ..so you get the problem: is there any way to put a "regexp" or something
> to: "en", "de"?
> There are hundreds of other languages, i think it's a bad solution to write
> down them all.
>
> There is another question: is my solution good so far?
> I'm asking that because if i visit:
>
>
> https://secure.wikimedia.org/wikipedia/en/wiki/File:Nokota_Horses_cropped.jpg
> that's ok, it's using HTTPS. BUT if i click on the picture:
>
>
> http://upload.wikimedia.org/wikipedia/commons/d/de/Nokota_Horses_cropped.jpg
> it's using _HTTP_ !!! - so this is not good. Are the pictures on a
> HTTP-only server,
> or i can write another redirect rule to view the pictures in HTTPS?
>
> Thanks you for any pointings, help, solution.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110320/b6e993f6/attachment.html>
More information about the ubuntu-users
mailing list