Coder Social home page Coder Social logo

Comments (18)

sstephenson avatar sstephenson commented on June 3, 2024

Correct - Pow and Apache aren't compatible with each other.

You could try this for serving PHP locally: https://github.com/eric1234/rack-legacy
Or uninstall Pow: curl get.pow.cx/uninstall.sh | sh

from pow.

jathayde avatar jathayde commented on June 3, 2024

Is this the same for nginx? We have a hellaciously complex nginx setup for our main apps at work and I can't move to pow.cx yet for that. Those run on dev.domainname.com. Is there a way for pow to only handle *.dev requests?

from pow.

sstephenson avatar sstephenson commented on June 3, 2024

@boboroshi, you could try running Pow without the ipfw rule and setting up an nginx reverse proxy to 127.0.0.1:20559 for *.dev.

from pow.

tal avatar tal commented on June 3, 2024

@sstephenson how do you install w/o the ipfw?

from pow.

jerodsanto avatar jerodsanto commented on June 3, 2024

Another option is switching Apache over to IPv6 which is pretty painless. I documented the process here.

from pow.

painteddigital avatar painteddigital commented on June 3, 2024

Reluctantly had to uninstall for this reason. @sant0sk1 has a decent workaround, but it's no solution. I'd love it if you could reserve certain domains or omit folders from Pow's control.

from pow.

wizardwerdna avatar wizardwerdna commented on June 3, 2024

I share painteddigital's reluctance in adopting an interesting product. I had an old-school Apache/Passenger/Control Panel scheme in effect. Net result was that after installing pow as instructed in the manual, I couldn't get myapp.dev to work, it said that the app wasn't found. Nor could I use the myapp.local, which invited me to do some kind of symlink. The error messages, whatever they meant, were not particularly helpful.

So uninstall it was, passenger worked fine again, and here I am.

You might want to mention this incompatibility in the installation portion, as I have no idea even how or what I need to do, if anything, to test pow in its native habitat.

from pow.

paulodeon avatar paulodeon commented on June 3, 2024

This should be made clear at least on the github homepage. Ciao pow.

from pow.

spikex avatar spikex commented on June 3, 2024

I've written up how to use rack-legacy with Pow here:

http://stuff-things.net/2011/05/16/legacy-development-with-pow/

from pow.

sstephenson avatar sstephenson commented on June 3, 2024

@spikex - excellent, thanks! Would you like to add this to the FAQ as well?

from pow.

spikex avatar spikex commented on June 3, 2024

Done!

from pow.

GoodWriteHQ avatar GoodWriteHQ commented on June 3, 2024

Can't you just set export POW_DST_PORT=81 via .bash_profile?

from pow.

kojilab avatar kojilab commented on June 3, 2024

having the same issue. Installed Pow, which messed up my virtual hosts. I uninstalled, rebooted and am getting a 503 now. I just don't know where to go from there

from pow.

kojilab avatar kojilab commented on June 3, 2024

Figured it out. I removed the resolver file and rebooted. That fixed it.

from pow.

slant avatar slant commented on June 3, 2024

Oi, yeah. This is an issue. I need the ability to quickly access one-offs at localhost. Why does pow take over everything instead of only the *.dev hosts? Is there no way to configure pow to whitelist or even blacklist certain hosts from pow's evil, er, masterful clutches?

from pow.

itsmattsoria avatar itsmattsoria commented on June 3, 2024

I can see this is a longshot, since it's been two years since the last comment. But I'm having the same issue! A friend recommend I try out Anvil, so I did without looking into it too much, and had POW installed with it, then realizing it doesn't work with PHP sites I uninstalled POW and Anvil, and now apache won't run. From the time I installed it to now I have a constant stream of the following message in my apache error log:
[error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0) - been trying forever to remedy this and I can't figure it out. I tried @kojilab's suggestion of removing the resolver file and rebooting and didn't have the same luck. Anyone have any ideas on this one?

from pow.

guidobouman avatar guidobouman commented on June 3, 2024

https://github.com/37signals/pow/wiki/Running-Pow-with-Apache

from pow.

itsmattsoria avatar itsmattsoria commented on June 3, 2024

@guidobouman Thanks! I Resolved my own issue, and don't exactly know how (or if?) it relates to my installation of POW, but thanks for pointing out that resource!

from pow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.