37signals/pow — Issue #264: localhost/config.json returns 404
Author: luckydev
Created: 2012-03-02 06:18:12+00:00
State: open

For the first time i tried, it worked.

``` bash
$ curl -H host:pow localhost/config.json
{
"bin":"/Users/Anand/Library/Application Support/Pow/Versions/0.3.2/bin/pow",
"dstPort":80,
"httpPort":20559,
"dnsPort":20560,
"timeout":900,"workers":2,"domains":["dev"],
"extDomains":[],
"hostRoot":"/Users/Anand/Library/Application Support/Pow/Hosts",
"logRoot":"/Users/Anand/Library/Logs/Pow",
"rvmPath":"/Users/Anand/.rvm/scripts/rvm"}
```

But the second time, it returns 404

``` bash
$ curl -I -H host:pow localhost/config.json
HTTP/1.1 404 Not Found
Date: Fri, 02 Mar 2012 06:12:06 GMT
Server: Apache/2.2.21 (Unix) DAV/2 PHP/5.3.8 with Suhosin-Patch
Content-Type: text/html; charset=iso-8859-1
```

From then on, it returns 404 only. But my app is getting served at dev.myapp.com properly without any problems.