tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36365] - IIS5.1-isapi_redirector.dll (1.2.14) plugin issue
Date Fri, 29 Dec 2006 00:59:49 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36365>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36365





------- Additional Comments From Tim.Whittington@orionhealth.com  2006-12-28 16:59 -------
I've narrowed down what is happening here.

This seems to be due to a combination of:
- IIS 5.1
- The SF_NOTIFY_AUTH_COMPLETE event being used instead of SF_NOTIFY_PREPROC_HEADERS
- Modifying the special "uri" header (via SetHeader) in HttpFilterProc to point
to the extension URI (e.g. performing the redirection).
- Making a request with an OPTIONS or PUT method (there could be others that
don't work, but POST and GET are fine).

I don't know why this is the case, and I can't trace the root cause of the
"Parameter is Incorrect" error.
(with extended logging IIS reports an 87 - ERROR_INVALID_PARAMETER in the logs)

Changing HttpFilterProc to trap SF_NOTIFY_PREPROC_HEADERS on IIS 5.1 fixes the
problem, but could break other things.
Btw, his is why much older builds of the connector worked - the
SF_NOTIFY_AUTH_COMPLETE was added at a later point.

Reading
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissdk/html/28d1ea12-9d69-49d5-9605-6915e5145710.asp
we don't seem to be using the authenticated user identity, but we may depend on
the filter being hit after authentication to allow website auth to apply before
JK is hit.

In short, we can 'fix' this one of two ways:
- Break IIS 5.1 for PUT/OPTIONS - e.g. don't fix it
- Change IIS 5.1 to respond to the SF_NOTIFY_PREPROC_HEADERS event, which is not
so good as the behaviour will differ from IIS 5.0/6.0.

I'm open to suggestions - I don't really have many other options available apart
from pinging MS again.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message