The famous Sifang website (foursquare.com) was inaccessible last Friday. At that time, I was using a mobile browser to check-in a venue ),
The result is ready for submission after the content is entered.
It's amazing that Chao cannot even have such a website.
Because my mobile phone is an old mentally retarded mobile phone
I can't run any client, I can only access the client through a browser, and I can't run a VPN Client on a mentally retarded machine, and I don't have a VPN, so it's a big problem that I can't switch out of the door, you can only go home and make up on your computer every day.
Cut, this is very wrong.
Today, "an unexpected whim" (thanks to guo jia and Miss 0bug) tried to get a proxy for Sifang, and the result was an outbreak of RP, which was a shameful success. Bytes
Fang
The method is actually very simple:
First, you need to have a shard VPs or a similar condition that can establish a reverse proxy. Then a reverse proxy is created. Done.
My approach is
Two lines are added to the Apache configuration of VPS (the premise is to enable mod_proxy ):Proxypass/mobile/http://foursquare.com/mobile/ <br/> proxypassreverse/mobile/http://foursquare.com/mobile/
Because
For the mobile page links of the Quartet, all domain names are not included, that is, the domain names of the Quartet are replaced with your own domain names. However, the links in the Quartet contain the mobile path, so you can only
Mobile.
After this proxy, the domain name and IP address have changed, and you can naturally access it. Of course, the safer way is to use HTTPS.
Unfortunately, I
Not familiar with PHP. If someone can write a PHP proxy program to proxy the mobile page of the Quartet, there is no need to connect to VPs, as long as there is a virtual host.
As for running
We recommend that you buy a VPN for the client's smartphone.