Skip to content

Instantly share code, notes, and snippets.

@tomill
Created September 4, 2012 12:10
Show Gist options
  • Save tomill/3620653 to your computer and use it in GitHub Desktop.
Save tomill/3620653 to your computer and use it in GitHub Desktop.
iphone mac proxy
$ sudo vi /etc/hosts
xxx.xxx.xxx.xxx my.new.example.com
$ sudo vi /etc/apache2/httpd.conf
Listen 443
ProxyRequests On
ProxyVia On
<Proxy *>
Order deny,allow
Deny from all
Allow from all
</Proxy>

osx

  1. edit your /etc/hosts
  2. edit your httpd.conf
  3. open System Pref > Sharing, start(or re-start) Web Sharing (start apache)
  4. open System Pref > Sharing, start Internet Sharing (share your ethernet via wi-fi)

iphone

  1. Setting > Wifi, Choose your computer
  2. Set HTTP Proxy using your computer

done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment