An Anachronist’s Life

日 有 所 思

Archive for 七月 5th, 2009

Private HTTPS web-based proxy (still buggy)

without comments

This one is modified from bslatkin’s mirrorrr. You may check his/her project page for more info.

I added two features:

  1. The URL is now base64 encoded.
  2. The proxy is open to specific Google user or user list only.

Here’s the installation instruction:

  1. Sign up for an App Engine account. Then “Create an Application”,you will need a cellphone to validate your account. After validation, you will give your proxy a name (identifier), which can be accessed via identifier.appspot.com. Here we use xxx as an example.
  2. Download the App Engine SDK
  3. Download and install Python 2.5.4 for your platform from the Python website
  4. Install the App Engine SDK.
  5. Create a folder named xxx in the Appengine SDK installation folder(e.g. C:\Program Files\Google\google_appengine\).
  6. Download source files at http://rapidshare.com/files/252099338/ziypwg.zip.html
  7. Now edit app.yaml in the xxx folder with notepad or any editor,change some words in the first line to application: xxx. Save the file and exit. Edit mirror.py, replace ziypwg to xxx; change VALID_USERS to your gmail id or id list.
  8. Type CMD in Start>run and enter command line environment. Enter your Appengine SDK folder(C:\Program Files\Google\google_appengine\), type “appcfg.py update xxx “, you will be prompted to enter your account and password. After validation the files in xxx folder will be uploaded to google and your installation is completed.
  9. A test will be done by enter in your browser: https//xxx.appspot.com
  10. If you’re having issues, let me know!

Currently the program is still buggy. I need to tune the base64 encoding transformer.

Thanks Brett Slatkin again.

Written by davidpeng

七月 5, 2009 at 4:13 下午

Posted in 每日杂谈