Skip to content

Instantly share code, notes, and snippets.

@jaymiejones86
Created September 18, 2012 21:20
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaymiejones86/3745981 to your computer and use it in GitHub Desktop.
Save jaymiejones86/3745981 to your computer and use it in GitHub Desktop.
Running Pow And MAMP Pro Together

Uninstall Pow if installed already

curl get.pow.cx/uninstall.sh | sh

Change pow's firewall to redirect all traffic from port 88 instead of port 80 (standard port)

echo 'export POW_DST_PORT=88' >> ~/.powconfig

Install Pow

curl get.pow.cx | sh

Now, open MAMP Pro, create a new host. Doesn't matter what it is named and which directory is selected (though I use 'rails.dev' and the folder I keep my Rails apps in).Also, deselect the select box for "local name resolution", just in case. Then go to the Advanced tab, and fill this in to the textarea labeled "Customized virtual host general settings":

ServerName pow
ServerAlias *.dev    

ProxyPass / http://localhost:20559/
ProxyPassReverse / http://localhost:20559/
ProxyPreserveHost On

Resource from imdefr.com

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