Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

404 Not Found #436

Closed
alycda opened this issue Mar 13, 2014 · 2 comments
Closed

404 Not Found #436

alycda opened this issue Mar 13, 2014 · 2 comments

Comments

@alycda
Copy link

alycda commented Mar 13, 2014

I've been trying to get pow set up nicely with my apache config, but with no such luck. I tried again today, with zero config in /etc/hosts and /etc/apache2/extra/httpd-vhosts.conf. I could get pow running on *.dev and xxx.xxx.xx.xx.xip.io but after a system restart (not apache), it appeared that pow could not resolve anything. so I ran /bin/sh -c "ipfw add fwd 127.0.0.1,20559 tcp from any to me dst-port 80 in && sysctl -w net.inet.ip.forwarding=1 net.inet.ip.fw.enable=1" from issue #432 and that worked, sort of. Now I'm back to the problem of only getting "404 not found" for any symlink from ~/.pow . Before I restarted, my apache access log would return something like GET proxy:http://localhost:20559/ from sitename.xxx.xxx.xx.xx.xip.io status:404 but since the restart, I'm not even seeing anything when I try to access sitename.dev or sitename.xxx.xxx.xx.xx.xip.io or http://localhost:20559/sitename

@FrankFang
Copy link

I get "404 not found" too, even after I restart pow.

~ ❯❯❯ ruby -v
ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13]

@jeremy
Copy link
Member

jeremy commented Aug 12, 2014

Lots going on here, @alycda - looks like this isn't a Pow bug, but an issue getting it set up with Apache.

To have Apache handle port 80 and proxy requests to Pow, check out https://github.com/basecamp/pow/wiki/Running-Pow-with-Apache

To have Pow handle port 80 and proxy requests to Apache, check out http://room118solutions.com/2012/11/28/running-apache-alongside-pow-on-osx/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants