curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Make curl works as web proxy

From: Rodrigo s via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 25 Jan 2022 19:31:31 -0300

Well, the problem is that I can't install anything. Just run php... Is it
possible?

Em ter., 25 de jan. de 2022 às 18:31, tom via curl-library <
curl-library_at_lists.haxx.se> escreveu:

> You'd be better off literally setting up a proxy on your server, through
> which all web traffic is redirected. Squid is good.
>
> Cheers
>
>
>
> Sent from my Galaxy
>
>
> -------- Original message --------
> From: Rodrigo s via curl-library <curl-library_at_lists.haxx.se>
> Date: 25/01/2022 20:22 (GMT+00:00)
> To: curl-library_at_lists.haxx.se
> Cc: Rodrigo s <rodrigozanattasilva_at_gmail.com>
> Subject: Make curl works as web proxy
>
> My school has a proxy that blocks some sites. If I try to access
> youtube.com, it will block.
>
> But, if I have my server running php and the server downloads this page, I
> can bypass the block. Obviously, youtube is complex. There are a lot of
> javascript and images.
>
> My question is: Is there a program that helps to make a page work? Can the
> curl bypass the proxy? What is the name of this kind of technology?
>
> In other words, this is how I think it works:
>
> - In a normal website, my browser does:
> - Get the page
> - Then read the link of every image and javascript
> - Download this images and javascript and render in page
> - There are more complex thing I will ignore
> - In the php page, it will do:
> - I type a URL.
> - Curl will download the page and show in my browser (this is easy
> to do)
> - Then, my browser will see the images and javascript
> - The browser will make the request to download these images and
> javascript
> - Somehow, these requests will be sent to my server. It will
> download the necessary and the browser will render it
> - If I click in the link, the request will be send to my server
> that will download and show the page
>
> I know there are other technologies that make it possible. But, only using
> php on another server, is it possible to do things like I want?
>
> --
> Unsubscribe: https://lists.haxx.se/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>


-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-01-25