tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Per Johnsson" <Per.Johns...@omxgroup.com>
Subject RE: isapi_redirect problem : works in all cases except one
Date Mon, 22 Jan 2007 11:19:08 GMT

Hi!
I just notice that you have /wiki/ in the uriworkers and path="/wiki".

Try to change your ajp connector to
/wiki*=ajp13w

I have sometimes had some problem with differences in the last slash.

/Per Jonsson

-----Original Message-----
From: Rich Stern [mailto:jasp182@gmail.com] 
Sent: den 19 januari 2007 22:56
To: users@tomcat.apache.org
Subject: isapi_redirect problem : works in all cases except one

I have Tomcat 5.5 installed on a Win2000 server with IIS 5.0, and I'm
using the isapi_redirect.dll ver 1.2.19.  I have deployed this on a
development server, and it worked like a charm (only difference is that
the dev server is Win2003 server with IIS 6.0).  I am now deploying it
on the previously mentioned Win2k server, and I have one situation that
causes a problem.

Problem:

All web requests are being forwarded correctly from IIS to Tomcat (via
isapi_redirect.dll), except for those at the root of the Servlet.  For
example, http://<ip or dns name>/wiki/<anything> will load and execute
my servlet.  The URL http://<ip or dns name>/wiki/ by itself (nothing
following the last forward slash) will fail somewhere in the process of
execution without logging anything anywhere, and the browser (both IE
and Firefox so
far) are asking me to download a file instead of outputting html to the
browser window.  I don't believe that IIS is giving me the problem,
because if the request was being processed by IIS, the response would
simply be a
404 error.  I'm tempted to think that the problem lies in how the isapi
filter is modifying the request before handing it off to Tomcat, or that
Tomcat is modifying it in between receiving and processing it.

My uriworkermap.properties has the following entry:

/wiki/*=ajp13w

And my xml file in Tomcat (<tomcat
install>\cont\Catalina\localhost\wiki.xml) has the context element 
install>defined
with path="/wiki" and docBase="D:/<physical path to servlet root>/".

To the best of my knowledge, I have configured this to work correctly.
I say this because I can go directly to Tomcat (by appending Tomcat's
standalone listening port of 8080 in the url) and I can also request any
other URL (other than the one I'm having trouble with) without
specifying the port number, and IIS hands it off to Tomcat and returns
the expected html content.  I also have double, triple, and quadruple
checked that all my config files and registry entries as described in
the isapi_redirect documentation are the same on both servers (with
differences only in the file paths because the file systems are laid out
differently), and the only difference between the two servers is the OS
and version of IIS.

I will continue researching and trouble shooting, but ANY help,
information, or ideas are greatly appreciated.  Thanks!

- Rich

********************************************************************************
This e-mail and the information it contains may be privileged and/or
confidential.  It is for the intended addressee(s) only.
The unauthorised use, disclosure or copying of this e-mail, or any information it contains,
is prohibited. 
If you are not an intended recipient, please contact the sender and delete the material from
your computer.
********************************************************************************



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message