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

404 Not Found on All Files (Yosemite) #481

Closed
benmjohnson opened this issue Nov 4, 2014 · 2 comments
Closed

404 Not Found on All Files (Yosemite) #481

benmjohnson opened this issue Nov 4, 2014 · 2 comments

Comments

@benmjohnson
Copy link

I'm on a clean install of Yosemite (10.10 (14A389)) and Pow (0.5.0) and all pages are responding with 404 Not Found.

My install is simple:

$ curl get.pow.cx | sh
$ cd ~/.pow/
$ ln -s ~/pow

The ~/pow directory has one file in it (with 755 permissions):

$ ls ~/pow
index.html

Then in a browser:
http://pow.dev/index.html

Returns:

<!doctype html><html><body><h1>404 Not Found</h1>

The Pow access.log

[Tue Nov 04 2014 14:32:07 GMT+0000 (GMT)] INFO [127.0.0.1] GET pow.dev /README.txt
[Tue Nov 04 2014 14:32:08 GMT+0000 (GMT)] INFO [127.0.0.1] GET pow.dev /favicon.ico

I receive "Pow is installed" if I access http://localhost/. I receive "Application not found" if I access a non symlinked .dev domain, e.g.: http://fake.dev/

Any clues why Pow cannot find any of my files?

@georgeclaghorn
Copy link

Pow only serves static files in the public subdirectory of any directory in ~/.pow. See Serving Static Files in the Pow Users' Manual.

@benmjohnson
Copy link
Author

Thanks for the quick response @georgeclaghorn. That's what I get for letting Anvil do all the work for me in the past.

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

2 participants