Michael Cordell's Blog

Using MAMP and Pow in harmony

14 Aug 2013

I wanted to use Pow to serve my rails apps during development. However, Pow takes over all port 80 requests. This means that if you are also using MAMP (or any web server) for local development, those sites are inaccessible. I don’t want to run MAMP on a different port, so what to do?

1) First, uninstall Pow, don’t worry you won’t lose anything.

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

2) Add the line “export POW_DST_PORT=88” to ~/.powconfig

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

3) Fire up your favorite editor and open /Applications/MAMP/conf/apache/httpd.conf. And copy this gist at the bottom of the file.

4) Restart MAMP (stop and then start the servers)

5) Install Pow again and everything should be working.

curl get.pow.cx | sh

Most of this guide is based on this page

comments powered by Disqus