Closed dasrecht closed 12 years ago
That's very strange, because redirects are normally handled by https://github.com/fzaninotto/uptime/blob/master/lib/pollers/http.js#L56.
I'll investigate further.
Humm you are right...
I tried it with http://httpstat.us/301 or http://httpstat.us/302 and this works
so probably it's a webserver config...
as far as i can see curl -vvvv is properly giving reply
~ > curl -vvvv http://www.bastianwidmer.ch
* About to connect() to www.bastianwidmer.ch port 80 (#0)
* Trying 176.9.65.122... connected
* Connected to www.bastianwidmer.ch (176.9.65.122) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
> Host: www.bastianwidmer.ch
> Accept: */*
>
< HTTP/1.1 302 Found
< Date: Sat, 21 Apr 2012 14:31:04 GMT
< Server: Apache
< X-Powered-By: PHP/5.3.5-1ubuntu7.7
< Location: v4
< Vary: Accept-Encoding
< Content-Length: 0
< Connection: close
< Content-Type: text/html
<
* Closing connection #0
~ >
Shouldn't the location contain a slash or the host?
No feedback for a month, closing.
Sometimes websites which are monitored redirect from one page to another
e.g. http://www.demosite.com redirects to http://www.demosite.com/foo
As we do not follow the redirects we get a connect ECONNREFUSED back
In my opinion this would be cool to have a checkbox to enable this
Regards
Bastian