powder-rb / powder

Makes Pow even easier. I mean really, really, ridiculously easy
http://git.io/powder
MIT License
1.29k stars 69 forks source link

PHP websites do not load when after powder down command #112

Open cwseric opened 9 years ago

cwseric commented 9 years ago

Hello,

I developer rails apps along with PHP websites. When I have POW installed on OSX 10.10 the rails apps load fine, but I cannot get the PHP websites to load with my virtual host and /etc/hosts file configuration. When I uninstall POW my PHP apps start up again.

Is there a configuration issue with POW / Powder that is not fully disabling POW when I run powder down?

Thanks

rodreegez commented 9 years ago

Hey @cwseric is this an issue for Powder or Pow? i.e. can you run your PHP sites with Pow without going through Powder?

cwseric commented 9 years ago

Hi @rodreegez I wasn't able to run PHP at all when POW was running. I ended up using the following link and I can run both systems at the same time now.

http://serverfault.com/questions/287127/how-to-set-up-apache-with-passenger-mod-rails-on-mac-os-x

Thanks

twei55 commented 9 years ago

@cwseric Pow redirects all incoming traffic on port 80 to port 20559, where Pow runs. This means e.g. that Apache will be inaccessible without either disabling the firewall rule or updating that server's configuration to listen on another port. (See http://pow.cx/manual.html#section_1)

I created this Gist to completely disable pow and all firewall rules on MacOSX Yosemite, in order to get access to my local webserver (Apache) on port 80.