jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lenz <cml...@gmx.de>
Subject Re: Antwort: Re: Antwort: Re: Please Help: Antwort: RE: Cactus 1.4.1 using WebSphere 5.0
Date Thu, 08 May 2003 11:20:49 GMT
Hi Anton,

it seems you've got a vhost setup that includes the port in the name 
(see http://httpd.apache.org/docs/vhosts/examples.html#name). Possibly, 
Commons-HttpClient is not including the port in the Host header when 
Cactus makes the test requests, so that would explain the failure.

BTW, which version of Cactus/HttpClient are you using?

Anton_Grimm@mn.man.de wrote:
> Starting the telnet session on the server mm009436 and specifying no port
> for the
> header I get the following:
> 
> ###
> 
> mm009436:/usr/WebSphere/AppServer/config/cells # telnet mm009436 8080
> Trying 151.136.164.153...
> Connected to mm009436.
> Escape character is '^]'.
> GET /mandeploymantwebapp/upload.html HTTP/1.1
> Host: mm009436
> 
> HTTP/1.1 404 Not Found
> Date: Thu, 08 May 2003 11:01:01 GMT
> Server: IBM_HTTP_SERVER/1.3.26  Apache/1.3.26 (Unix)
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=iso-8859-1
> 
> 13c
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <HTML><HEAD>
> <TITLE>404 Not Found</TITLE>
> </HEAD><BODY>
> <H1>Not Found</H1>
> The requested URL /mandeploymantwebapp/upload.html was not found on this
> server.<P>
> <HR>
> <ADDRESS>IBM_HTTP_SERVER/1.3.26  Apache/1.3.26 Server at mm009436 Port
> 8080</ADDRESS>
> </BODY></HTML>
> 
> ###
> 
> The result is the same for running the session against localhost and
> specifying
> Host: localhost.
> 
> Only the following (without any blanks between host and port) works:
> 
> ###
> 
> GET /mandeploymantwebapp/upload.html HTTP/1.1
> Host: localhost:8080
> 
> ###
> 
> Regards
> 
> Toni
> ---------------------------------------------------------------
> Anton Grimm
> MAN Nutzfahrzeuge AG
> IDP - Software Produktionsumgebungen
> Dachauerstr.667
> D - 80995 M√ľnchen
> 
> Fon:       +49-89-1580-1054
> Fax:       +49-89-1580-911054
> mailto:    Anton_Grimm@mn.man.de
> Internet: http://www.man-trucks.com
> ---------------------------------------------------------------

--
Christopher Lenz
/=/ cmlenz at gmx.de


Mime
View raw message