Hello,
This is probably a bug in IIS 5.x. We had to change a single line in the
filter:
DWORD WINAPI HttpFilterProc(PHTTP_FILTER_CONTEXT pfc,
DWORD dwNotificationType,
LPVOID pvNotification)
{
if(is_inited &&
(SF_NOTIFY_PREPROC_HEADERS == dwNotificationType)) {
PHTTP_FILTER_PREPROC_HEADERS p =
(PHTTP_FILTER_PREPROC_HEADERS)pvNotification;
char uri[INTERNET_MAX_URL_LENGTH];
char snuri[INTERNET_MAX_URL_LENGTH]="/";
char Host[INTERNET_MAX_URL_LENGTH];
char *query;
DWORD sz = sizeof(uri);
DWORD szHost = sizeof(Host);
jk_log(logger, JK_LOG_DEBUG,
"HttpFilterProc started\n");
/*!!!!! Patch to work with IIS 5.x !!!!!!*/
p->SetHeader(pfc, "Translate:", "");
/*
* Just in case somebody set these headers in the request!
*/
p->SetHeader(pfc, URI_HEADER_NAME, NULL);
p->SetHeader(pfc, WORKER_HEADER_NAME, NULL);
if(!p->GetHeader(pfc, "url", (LPVOID)uri, (LPDWORD)&sz)) {
jk_log(logger, JK_LOG_ERROR,
"HttpFilterProc error while getting the url\n");
return SF_STATUS_REQ_ERROR;
}
Best regards,
Juergen
-----Original Message-----
From: Robert Priest [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 21.20 PM
To: 'Tomcat Users List'
Cc: '[EMAIL PROTECTED]'
Subject: RE: ISAPI Filter not working with Webfolders win2k and
Webdrive 5 .1
BTW - even the bundled webdav servlet does not work with the isapi filter.
it works fine if you go against the port 8080 http://localhost:8080/webdav,
but not against
port 80 http://localhost/webdav.
-----Original Message-----
From: Robert Priest [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 10:42 AM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: ISAPI Filter not working with Webfolders win2k and Webdrive 5.1
Can anyone help here:
I am using Tomcat 4.0.3. and the filter from Tomcat version 3.3. (as is
specified in the AJP instruction page).
I am also running slide 1.0.16
The isapi filter (isapi_redirect.dll) works fine when accessing my
Tomcat/slide server through a browser.
But I am having the following problems when I Try to access Slide with the
following clients:
using WebFolders:
I get "The folder you entered does not appear to be valid" in a popup.
In "iis_redirect.log", it appears that the url I request to map to is
disappearing.
For example, If I try to map to "http://localhost/slide/test", the url that
HttpFilterProc sees is:
"http://localhost/_vti_inf.html". Everything goes down hill from there.
using WebDrive:
If i use the same url: "http://localhost/slide/test", the isapi filter
interprets the url just fine.
However, it appears as though IIS never calls "GetExtensionVersion" or
"HttpExtensionProc". Processing just
stops after HttpFilterProc does its job. The last few lines I see are:
[Fri Mar 15 11:46:48 2002] [jk_uri_worker_map.c (391)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 ->
/slide/
[Fri Mar 15 11:46:54 2002] [jk_isapi_plugin.c (695)]: HttpFilterProc
[/slide/test] is a servlet url - should redirect to ajp13
[Fri Mar 15 11:46:56 2002] [jk_isapi_plugin.c (706)]: HttpFilterProc
fowarding original URI [/slide/test]
[Fri Mar 15 11:47:10 2002] [jk_isapi_plugin.c (744)]: HttpFilterProc check
if [/slide/test] is points to the web-inf directory
I believe the next line shoule be "HttpExtensionProc started".
Can anyone offer any help here? It would be greatly appreciated.
Robert Priest.
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>