Juergen, Almost there.
Thanks for your help. That did clear up the problem with accessing http://localhost/webdav (the tomcat webdav servlet). However, if authentication is enabled on the application (as is my slide implementation), I still getting prompted for a network login. What I am seeing looks similar to the issue detailed in the following bug report: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5647 One thing i see, is that the it looks like the authorization information is being taken and then lost somewhere. According to the bug report above, someone had a patch at one point (if this is the same issue), but it was lost in subsequent updates to the project. I will try to pursue this one a little further. But here is a little more information on the problem I am seeing now. Here is what happens in the different clients: In IE: FIrst I get the proper "Basic Authentication" (realm="Slide Dav Server") login prompt. I fill in my information. But next, I get what looks like the nt authentication prompt which now has a realm="localhost". We end in a 401 error. In WebFolders Win2k and Webdrive 5.1: What I see is just the the nt authentication prompt which now has a realm="localhost". Both of these results eventually lead me to a 401 error. BTW - I am positive that I turned off "Windows Integrated Authentication" in the IIS console. Here is an excerpt (of a request that failed) from my WebDrive logfile (webdrive.log) to give you an idea of what the client is seeing. If you have any ideas please let me know: 03/21/02 10:24:03 [Z:] NT Platform 03/21/02 10:24:03 [Z:] Version 5.01 (build 938) 03/21/02 10:24:03 [Z:] Connecting to http://localhost/slide/test ... 03/21/02 10:24:03 [Z:] OPTIONS /slide/test HTTP/1.1 03/21/02 10:24:03 [Z:] Host: localhost 03/21/02 10:24:03 [Z:] User-Agent: WebDrive/5.01 NT 03/21/02 10:24:03 [Z:] Accept-Language: en-us 03/21/02 10:24:03 [Z:] Translate: f 03/21/02 10:24:03 [Z:] Pragma: no-cache 03/21/02 10:24:03 [Z:] Connection: close 03/21/02 10:24:03 [Z:] HTTP/1.1 401 Unauthorized 03/21/02 10:24:03 [Z:] Server: Microsoft-IIS/5.0 03/21/02 10:24:03 [Z:] Date: Thu, 21 Mar 2002 15:24:03 GMT 03/21/02 10:24:03 [Z:] Connection: close 03/21/02 10:24:03 [Z:] Content-Type: text/html 03/21/02 10:24:03 [Z:] WWW-Authenticate: Basic realm="Slide DAV Server" 03/21/02 10:24:03 [Z:] OPTIONS /slide/test HTTP/1.1 03/21/02 10:24:03 [Z:] Host: localhost 03/21/02 10:24:03 [Z:] User-Agent: WebDrive/5.01 NT 03/21/02 10:24:03 [Z:] Accept-Language: en-us 03/21/02 10:24:03 [Z:] Translate: f 03/21/02 10:24:03 [Z:] Pragma: no-cache 03/21/02 10:24:03 [Z:] Connection: close 03/21/02 10:24:03 [Z:] Content-Length: 0 03/21/02 10:24:03 [Z:] Authorization: Basic cHdhZG1pbjpwd2FkbWlu 03/21/02 10:24:03 [Z:] HTTP/1.1 401 Access Denied 03/21/02 10:24:04 [Z:] Server: Microsoft-IIS/5.0 03/21/02 10:24:04 [Z:] Date: Thu, 21 Mar 2002 15:24:03 GMT 03/21/02 10:24:04 [Z:] WWW-Authenticate: Basic realm="localhost" 03/21/02 10:24:04 [Z:] Connection: close 03/21/02 10:24:04 [Z:] Content-Length: 3245 03/21/02 10:24:04 [Z:] Content-Type: text/html 03/21/02 10:24:04 [Z:] Authentication failed 03/21/02 10:24:04 [Z:] Can't connect to WebDAV server at http://localhost/slide/test, Authentication failed -----Original Message----- From: Pill, Juergen [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 6:34 AM To: 'Slide Developers Mailing List'; 'Tomcat Users List' Subject: RE: ISAPI Filter not working with Webfolders win2k and Webdrive 5 .1 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]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
