Kristofer
Fri Mar 14 00:51:17 CDT 2008
I tried to send such request to a server running IIS 6 and it worked. So
perhaps it is the ISAPI filter or Tomcat that refuses to handle this
request? In that case that's where you should start.
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
<jcvel@canada.com> skrev i meddelandet
news:dfbb09ce-fe88-4bc4-ab44-f3a83f458239@y77g2000hsy.googlegroups.com...
On Mar 12, 3:09 pm, jc...@canada.com wrote:
> On Mar 12, 2:00 pm, "Kristofer Gafvert" <kgafv...@NEWSilopia.com>
> wrote:
>
>
>
>
>
> > Hello,
>
> > How do you know that the browser sends GET
http://... and not GET
> > /app/...?
>
> > According to the HTTP 1.0 RFC, GET
http://... is only allowed when the
> > request is sent to a proxy (and you send the request to a webserver). So
> > i
> > have a feeling that the browser does not do this, and that your device
> > does
> > not send a proper HTTP request. I would recommend you to fix this device
> > so
> > it communicates with proper http.
>
> > Also see section 5.1.2 in the HTTP 1.0
> > RFC
http://ftp.ics.uci.edu/pub/ietf/http/rfc1945.html#Request
>
> > "The absoluteURI form is only allowed when the request is being made to
> > a
> > proxy"
>
> > --
> > Regards,
> > Kristofer Gafvert
http://www.gafvert.info/iis/-IIS Related Info
>
> > <jc...@canada.com> skrev i
> > meddelandetnews:b6b95cee-fe35-40f6-9c6e-25babe0e0365@a70g2000hsh.googlegroups.com...
>
> > > Hi All:
>
> > > I have an application IIS running along with Tomcat 5.5
> > > Web sites are displayed correctly using IE browsers.
> > > I also have an external harware device that sinchronizes time with his
> > > server using a GET command. This device uses HTTP/1.0.
> > > When I type the identical command in the browser the server sends back
> > > code 200, but when my device attempts to do this there's an error 404
> > > page not found.
> > > Details:
> > > "
http://www.abc.com/app/gettime.jsp" This has no problem when
> > > sent from a browser
> > > My string from the device is: "GET
http://www.abc.com/app/gettime
> > > HTTP/1.0\n\n" I get 404 error
> > > Another hint: If I use the string: "GET /app/gettime HTTP/1.0\n\n" I
> > > get 200 just fine. Please note that there's no url in the last one.
> > > Could any body help me with this ?
> > > Regards
> > > Juan- Hide quoted text -
>
> > - Show quoted text -
>
> Hi Kristofer:
> I read what you say and now I guess why another server with "similar"
> characteristics works ok. I read what RFC says about, so it would mean
> that my other server has a proxy ( I just don't know ) but if it works
> there that must be it.
> I will dig more into it and will reply.
> Thanks a lot for your reply. I now see a light a the end of the
> tunnel.
> Regards
>
> Juan- Hide quoted text -
>
> - Show quoted text -
Hi Kristofer
After researching more deepely, I found out that although I am using
HTTP/1.0 with the uri in the string, Apache in front of Tomcat is
taking care of it, and sending the request to Tomcat, with no
problems.
Now back to my original problem, my server an IIS with Tomcat behind,
I checked log files and there's no request at all that is being sent
from IIS to Tomcat, so I suspect of a problem in IIS and or ISAPI
filter.
Could you provide me with some input as to where/how to configure
IIS ?
Regards
Juan