Hi All;

I am experiencing a problem that HTTP/1.0 requests are not processed.
I have an IIS-tomcatand all the pages are working OK from a browser.

One of my pages is a GET command that requests the time. The command
is as follows:
http://www.myserver.com/app/gettime.jsp This works ok from any
browser.
When I attemtp to tun this command from an external device using HTTP/
1.0 then I get an error 404.
Here's the command: "GET http://www.myserver.com/app/gettime.jsp HTTP/
1.0\n\n" I get 404 error
However here's what I find weird: If I send the command without the
url it works just fine, like this: "GET /app/gettime.jsp HTTP/1.0\n\n

Any ideas ??
Thanks in advance!
Juan

Re: HTTP/1.0 problem by David

David
Wed Mar 12 14:42:08 CDT 2008

On Mar 12, 11:51=A0am, jc...@canada.com wrote:
> Hi All;
>
> I am experiencing a problem that HTTP/1.0 requests are not processed.
> I have an IIS-tomcatand all the pages are working OK from a browser.
>
> One of my pages is a GET command that requests the time. The command
> is as follows:http://www.myserver.com/app/gettime.jsp=A0 =A0 =A0This works=
ok from any
> browser.
> When I attemtp to =A0tun this command from an external device using HTTP/
> 1.0 then I get an error 404.
> Here's the command: "GEThttp://www.myserver.com/app/gettime.jspHTTP/
> 1.0\n\n" =A0 I get 404 error
> However here's what I find weird: If I send the command without the
> url it works just fine, like this: "GET /app/gettime.jsp HTTP/1.0\n\n
>
> Any ideas ??
> Thanks in advance!
> =A0Juan


Look at the raw network response from the browser, compare it against
your raw output from an external device, and the issue should become
clear.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

Re: HTTP/1.0 problem by jcvel

jcvel
Wed Mar 12 17:03:54 CDT 2008

On Mar 12, 3:42=A0pm, David Wang <w3.4...@gmail.com> wrote:
> On Mar 12, 11:51=A0am, jc...@canada.com wrote:
>
>
>
>
>
> > Hi All;
>
> > I am experiencing a problem that HTTP/1.0 requests are not processed.
> > I have an IIS-tomcatand all the pages are working OK from a browser.
>
> > One of my pages is a GET command that requests the time. The command
> > is as follows:http://www.myserver.com/app/gettime.jsp=A0=A0 =A0This work=
s ok from any
> > browser.
> > When I attemtp to =A0tun this command from an external device using HTTP=
/
> > 1.0 then I get an error 404.
> > Here's the command: "GEThttp://www.myserver.com/app/gettime.jspHTTP/
> > 1.0\n\n" =A0 I get 404 error
> > However here's what I find weird: If I send the command without the
> > url it works just fine, like this: "GET /app/gettime.jsp HTTP/1.0\n\n
>
> > Any ideas ??
> > Thanks in advance!
> > =A0Juan
>
> Look at the raw network response from the browser, compare it against
> your raw output from an external device, and the issue should become
> clear.
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David.Wang
> //- Hide quoted text -
>
> - Show quoted text -

Hi David:
I checked and noticed that IIS is not sending the request to Tomcat
when it contains the uri embedded in the string. It means that IIS is
somehow getting lost because of that. I searched and RFC says that in
HTTP/1.0 the uri should only be embedded in the string if the request
is sent to a proxy server that could redirect the request. I have to
find out where in IIS this request is getting lost though. Any ideas ?
Thanks for your reply.
Juan

Re: HTTP/1.0 problem by David

David
Thu Mar 13 20:50:40 CDT 2008

On Mar 12, 3:03=A0pm, jc...@canada.com wrote:
> On Mar 12, 3:42=A0pm, David Wang <w3.4...@gmail.com> wrote:
>
>
>
>
>
> > On Mar 12, 11:51=A0am, jc...@canada.com wrote:
>
> > > Hi All;
>
> > > I am experiencing a problem that HTTP/1.0 requests are not processed.
> > > I have an IIS-tomcatand all the pages are working OK from a browser.
>
> > > One of my pages is a GET command that requests the time. The command
> > > is as follows:http://www.myserver.com/app/gettime.jsp=A0=A0 =A0This wo=
rks ok from any
> > > browser.
> > > When I attemtp to =A0tun this command from an external device using HT=
TP/
> > > 1.0 then I get an error 404.
> > > Here's the command: "GEThttp://www.myserver.com/app/gettime.jspHTTP/
> > > 1.0\n\n" =A0 I get 404 error
> > > However here's what I find weird: If I send the command without the
> > > url it works just fine, like this: "GET /app/gettime.jsp HTTP/1.0\n\n
>
> > > Any ideas ??
> > > Thanks in advance!
> > > =A0Juan
>
> > Look at the raw network response from the browser, compare it against
> > your raw output from an external device, and the issue should become
> > clear.
>
> > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David.Wang
> > //- Hide quoted text -
>
> > - Show quoted text -
>
> Hi David:
> I checked and noticed that IIS is not sending the request to Tomcat
> when it contains the uri embedded in the string. It means that IIS is
> somehow getting lost because of that. I searched and RFC says that in
> HTTP/1.0 the uri should only be embedded in the string if the request
> is sent to a proxy server that could redirect the request. I have to
> find out where in IIS this request is getting lost though. Any ideas ?
> Thanks for your reply.
> Juan- Hide quoted text -
>
> - Show quoted text -



Sounds like a problem with the Tomcat ISAPI Adapter you installed on
IIS (or its configuration) because it is responsible for sending
requests from IIS to Tomcat.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

Re: HTTP/1.0 problem by jcvel

jcvel
Fri Mar 14 15:28:41 CDT 2008

On Mar 13, 9:50=A0pm, David Wang <w3.4...@gmail.com> wrote:
> On Mar 12, 3:03=A0pm, jc...@canada.com wrote:
>
>
>
>
>
> > On Mar 12, 3:42=A0pm, David Wang <w3.4...@gmail.com> wrote:
>
> > > On Mar 12, 11:51=A0am, jc...@canada.com wrote:
>
> > > > Hi All;
>
> > > > I am experiencing a problem that HTTP/1.0 requests are not processed=
.
> > > > I have an IIS-tomcatand all the pages are working OK from a browser.=

>
> > > > One of my pages is a GET command that requests the time. The command=

> > > > is as follows:http://www.myserver.com/app/gettime.jsp=A0=A0 =A0This =
works ok from any
> > > > browser.
> > > > When I attemtp to =A0tun this command from an external device using =
HTTP/
> > > > 1.0 then I get an error 404.
> > > > Here's the command: "GEThttp://www.myserver.com/app/gettime.jspHTTP/=

> > > > 1.0\n\n" =A0 I get 404 error
> > > > However here's what I find weird: If I send the command without the
> > > > url it works just fine, like this: "GET /app/gettime.jsp HTTP/1.0\n\=
n
>
> > > > Any ideas ??
> > > > Thanks in advance!
> > > > =A0Juan
>
> > > Look at the raw network response from the browser, compare it against
> > > your raw output from an external device, and the issue should become
> > > clear.
>
> > > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David.Wang
> > > //- Hide quoted text -
>
> > > - Show quoted text -
>
> > Hi David:
> > I checked and noticed that IIS is not sending the request to Tomcat
> > when it contains the uri embedded in the string. It means that IIS is
> > somehow getting lost because of that. I searched and RFC says that in
> > HTTP/1.0 the uri should only be embedded in the string if the request
> > is sent to a proxy server that could redirect the request. I have to
> > find out where in IIS this request is getting lost though. Any ideas ?
> > Thanks for your reply.
> > Juan- Hide quoted text -
>
> > - Show quoted text -
>
> Sounds like a problem with the Tomcat ISAPI Adapter you installed on
> IIS (or its configuration) because it is responsible for sending
> requests from IIS to Tomcat.
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David.Wang
> //- Hide quoted text -
>
> - Show quoted text -

Hi David:
You're right that's what's happening. I changed Tomtcat to port 80 and
works ok. Could you give me some ideas as to how to create/edit the
existing filter ?
Regards;
Juan

Re: HTTP/1.0 problem by David

David
Fri Mar 14 16:34:23 CDT 2008

On Mar 14, 1:28=A0pm, jc...@canada.com wrote:
> On Mar 13, 9:50=A0pm, David Wang <w3.4...@gmail.com> wrote:
>
>
>
>
>
> > On Mar 12, 3:03=A0pm, jc...@canada.com wrote:
>
> > > On Mar 12, 3:42=A0pm, David Wang <w3.4...@gmail.com> wrote:
>
> > > > On Mar 12, 11:51=A0am, jc...@canada.com wrote:
>
> > > > > Hi All;
>
> > > > > I am experiencing a problem that HTTP/1.0 requests are not process=
ed.
> > > > > I have an IIS-tomcatand all the pages are working OK from a browse=
r.
>
> > > > > One of my pages is a GET command that requests the time. The comma=
nd
> > > > > is as follows:http://www.myserver.com/app/gettime.jsp=A0=A0 =A0Thi=
s works ok from any
> > > > > browser.
> > > > > When I attemtp to =A0tun this command from an external device usin=
g HTTP/
> > > > > 1.0 then I get an error 404.
> > > > > Here's the command: "GEThttp://www.myserver.com/app/gettime.jspHTT=
P/
> > > > > 1.0\n\n" =A0 I get 404 error
> > > > > However here's what I find weird: If I send the command without th=
e
> > > > > url it works just fine, like this: "GET /app/gettime.jsp HTTP/1.0\=
n\n
>
> > > > > Any ideas ??
> > > > > Thanks in advance!
> > > > > =A0Juan
>
> > > > Look at the raw network response from the browser, compare it agains=
t
> > > > your raw output from an external device, and the issue should become=

> > > > clear.
>
> > > > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David.Wang
> > > > //- Hide quoted text -
>
> > > > - Show quoted text -
>
> > > Hi David:
> > > I checked and noticed that IIS is not sending the request to Tomcat
> > > when it contains the uri embedded in the string. It means that IIS is
> > > somehow getting lost because of that. I searched and RFC says that in
> > > HTTP/1.0 the uri should only be embedded in the string if the request
> > > is sent to a proxy server that could redirect the request. I have to
> > > find out where in IIS this request is getting lost though. Any ideas ?=

> > > Thanks for your reply.
> > > Juan- Hide quoted text -
>
> > > - Show quoted text -
>
> > Sounds like a problem with the Tomcat ISAPI Adapter you installed on
> > IIS (or its configuration) because it is responsible for sending
> > requests from IIS to Tomcat.
>
> > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David.Wang
> > //- Hide quoted text -
>
> > - Show quoted text -
>
> Hi David:
> You're right that's what's happening. I changed Tomtcat to port 80 and
> works ok. Could you give me some ideas as to how to create/edit the
> existing filter ?
> Regards;
> Juan- Hide quoted text -
>
> - Show quoted text -


You should ask the maintainers of Tomcat and its isapi_connector for
support questions.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//