check_http plugin redirects bug
Subhendu Ghosh
sghosh at sghosh.org
Fri Aug 16 04:21:00 CEST 2002
I had asked for clarification on this when the last request was made - did
not get any response (or I missed it).
If you have a patch that parses the redirect string and prepends the slash
if missing, that would be great.
-sg
On Tue, 13 Aug 2002, Russell Scibetti wrote:
> I sent this to the nagiosplug list with no response, so I was hoping
> someone on this list might be able to respond to this:
>
> I have found a problem with the check_http plugin and its ability to
> follow redirects properly. If it hits a redirect that has the full
> domain and file name given, it can follow the redirect (assuming you are
> giving the plugin the "-f follow" argument). However, if the
> redirect in the HTTP header only gives the file name without a leading
> slash, the plugin tries doing a GET for that file name. Since it is
> missing the leading slash, the plugin will always return a 404 in this case.
>
> Should I just fix the plugin to make sure that the leading slash is
> added, or is the plugin developer on this list and he/she would like to
> fix it? Or does anyone have any other suggestions?
>
> -Russell Scibetti
>
>
--
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
More information about the Users
mailing list