You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/08/28 23:23:53 UTC
DO NOT REPLY [Bug 12141] New: -
ISAPI Redirector steals IIS Request.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12141>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12141
ISAPI Redirector steals IIS Request.
Summary: ISAPI Redirector steals IIS Request.
Product: Tomcat 4
Version: 4.1.7
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Connector:Coyote JK 2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: robert.priest@bentley.com
The following problem occurs when you are running tomcat with the isapi_filter
(isapi_redirector2.dll) on IIS 5.0
If you have:
1. a virtual directory in IIS, say: "app1-images".
2. a application running on tomcat that has a url like: "http://localhost/app1"
and an entry in your workers2.properties file like the following-
[uri:/app1/*]
info=Map the whole webapp
debug=0
if you make a request in a browser for the "app1-images virtual directory
(http://localhost/app1-images), tomcat will take control of the request and
attempt to send you to "http://localhost/app1".
It seems as thought when the filter attempts to map the request to an
application, it only searches for the substring "app1" in the url to map the
request. I think what it should look for is that "/app1/" is in the requested
url. In other words,I think it should compare against everything in the first
set of slashes after the host (or host and port).
I am including my workers 2 properties file as requested by nacho@siapi.es:
[config:]
#file=${serverRoot}/conf/workers2.properties
debug=10
debugEnv=0
TOMCAT_HOME=D:\\pw\\tip\\output\\delivery\\Progra~1
\\Bentley\\ProjectWise\\WebServer\\\\
[uriMap:]
info=Maps the requests. Options: debug
debug=10
# Logger options. For apache2 only level can be set ( it logs to apache's
error.log )
#[logger.file:0]
#level=INFO
#File property is not used on Apache2 or if a 'native' logger is available
#The Apache2 ( or native ) log file is used instead
#For apache1 the file must be specified if you want logging.
#file=${serverRoot}/logs/jk2.log
[workerEnv:]
info=Global server options
timing=1
debug=0
logger=logger.file:0
[lb:lb]
info=Default load balancer.
debug=0
#################### Channels ####################
# Each channel defines a communication mechanism to a tomcat instance.
# Each channel is associated with a ajp13:NAME, with the same local name
[channel.socket:localhost:8019]
info=A second tomcat instance.
debug=0
tomcatId=localhost:8019
group=lb
[status:]
info=Status worker, displays runtime informations
[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:
[uri:/WEL/*]
info=Map the whole webapp
debug=0
[uri:/webfolders/*]
info=Map the whole webapp
debug=0
[uri:/we/*]
info=Map the whole webapp
debug=0
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>