<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>润物无声 &#187; 外面的世界</title>
	<atom:link href="http://blog.zhourunsheng.com/tag/%e5%a4%96%e9%9d%a2%e7%9a%84%e4%b8%96%e7%95%8c/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.zhourunsheng.com</link>
	<description>天空一朵雨做的云</description>
	<lastBuildDate>Sat, 08 May 2021 05:17:21 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.41</generator>
	<item>
		<title>利用Appspot访问外部资源</title>
		<link>http://blog.zhourunsheng.com/2011/07/%e5%88%a9%e7%94%a8appspot%e8%ae%bf%e9%97%ae%e5%a4%96%e9%83%a8%e8%b5%84%e6%ba%90/</link>
		<comments>http://blog.zhourunsheng.com/2011/07/%e5%88%a9%e7%94%a8appspot%e8%ae%bf%e9%97%ae%e5%a4%96%e9%83%a8%e8%b5%84%e6%ba%90/#comments</comments>
		<pubDate>Sat, 02 Jul 2011 06:26:16 +0000</pubDate>
		<dc:creator><![CDATA[润物无声]]></dc:creator>
				<category><![CDATA[云计算]]></category>
		<category><![CDATA[GAE]]></category>
		<category><![CDATA[外面的世界]]></category>

		<guid isPermaLink="false">http://blog.zhourunsheng.com/?p=213</guid>
		<description><![CDATA[<p>网上翻墙的技术层出不群，本人自己也使用过很多，用过之后，发现还是利用appspot 最实在，最方便。 既然要利 [&#8230;]</p>
<p><a rel="nofollow" href="http://blog.zhourunsheng.com/2011/07/%e5%88%a9%e7%94%a8appspot%e8%ae%bf%e9%97%ae%e5%a4%96%e9%83%a8%e8%b5%84%e6%ba%90/">利用Appspot访问外部资源</a>，首发于<a rel="nofollow" href="http://blog.zhourunsheng.com">润物无声</a>。</p>
]]></description>
				<content:encoded><![CDATA[<p>网上翻墙的技术层出不群，本人自己也使用过很多，用过之后，发现还是利用appspot 最实在，最方便。</p>
<p>既然要利用appspot 进行翻墙，那么首先得解决访问*.appspot .com的问题, 因为它本身就是一个墙外的东西，真是灰常像先有鸡还是先有蛋的两难问题啊。。。</p>
<p>幸好这个问题比较容易解决，现将解决方法罗列如下：</p>
<p>【本文用的是win7，xp神马的类似】</p>
<p>1. 建立自己的appspot 代理 gappproxy, 在 google code 上面下载其源代码工程 gappproxy-read-only，</p>
<p>fetchserver是用来上传到appspot的，比如我自己的代理地址为：http://careyproxy.appspot.com/fetch.py</p>
<p><img class="alignnone size-full wp-image-214" title="gappproxy" src="http://blog.zhourunsheng.com/wp-content/uploads/2011/07/gappproxy.jpg" alt="gappproxy" width="500" height="270" /></p>
<p>2. 修改hosts文件，win7 在 C:Windows\System32\drivers\etc 下面，注意需要管理员的权限，修改如下：</p>
<pre>203.208.39.104 careyproxy.appspot.com
209.85.225.101 sites.google.com
209.85.225.101 docs.google.com
209.85.225.101 spreadsheets.google.com
209.85.225.101 picasaweb.google.com</pre>
<p>3. 修改 gappproxy-read-onlylocalproxyproxy.conf 配置文件</p>
<pre>listen_port = 8008
fetch_server = http://careyproxy.appspot.com/fetch.py</pre>
<p>4. 运行 gappproxy-read-onlylocalproxy proxy.py，命令行输出如下：</p>
<p><img class="alignnone size-full wp-image-215" title="localproxy" src="http://blog.zhourunsheng.com/wp-content/uploads/2011/07/localproxy.jpg" alt="localproxy" width="500" height="326" /></p>
<p>说明服务已经启动了</p>
<p>5. 修改本机浏览器的代理地址为127.0.0.1：8008，试试是不是已经能访问facebook和twitter啦</p>
<p><img class="alignnone size-full wp-image-216" title="facebook" src="http://blog.zhourunsheng.com/wp-content/uploads/2011/07/facebook.jpg" alt="facebook" width="500" height="270" /></p>
<p>现在开始慢慢欣赏墙外的世界吧 。。。</p>
<p><a rel="nofollow" href="http://blog.zhourunsheng.com/2011/07/%e5%88%a9%e7%94%a8appspot%e8%ae%bf%e9%97%ae%e5%a4%96%e9%83%a8%e8%b5%84%e6%ba%90/">利用Appspot访问外部资源</a>，首发于<a rel="nofollow" href="http://blog.zhourunsheng.com">润物无声</a>。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zhourunsheng.com/2011/07/%e5%88%a9%e7%94%a8appspot%e8%ae%bf%e9%97%ae%e5%a4%96%e9%83%a8%e8%b5%84%e6%ba%90/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
