mturk 2002/10/09 10:11:22
Modified: jk/native2/server/isapi jk_isapi_plugin.c
Log:
Skip the checking of default hostname and port. Using
that scheme the same behaviour is on all web servers.
Revision Changes Path
1.50 +5 -6
jakarta-tomcat-connectors/jk/native2/server/isapi/jk_isapi_plugin.c
Index: jk_isapi_plugin.c
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/jk/native2/server/isapi/jk_isapi_plugin.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- jk_isapi_plugin.c 25 Sep 2002 07:36:48 -0000 1.49
+++ jk_isapi_plugin.c 9 Oct 2002 17:11:22 -0000 1.50
@@ -270,6 +270,7 @@
DWORD szHost = sizeof(Host);
DWORD szTranslate = sizeof(Translate);
DWORD szPort = sizeof(Port);
+ int nPort;
#ifdef SF_NOTIFY_AUTH_COMPLETE
if (auth_notification_flags == SF_NOTIFY_AUTH_COMPLETE) {
GetHeader=((PHTTP_FILTER_AUTH_COMPLETE_INFO)pvNotification)->GetHeader;
@@ -341,13 +342,11 @@
Port[szPort-1] = '\0';
}
}
- szPort = atoi(Port);
- if (szPort == 80 || szPort == 443)
- szPort = 0;
+ nPort = atoi(Port);
env->l->jkLog(env, env->l, JK_LOG_DEBUG,
- "In HttpFilterProc Virtual Host redirection of %s :
%d\n",
+ "In HttpFilterProc Virtual Host redirection of %s :
%s\n",
Host, Port);
- uriEnv = workerEnv->uriMap->mapUri(env, workerEnv->uriMap,Host,
szPort, uri );
+ uriEnv = workerEnv->uriMap->mapUri(env, workerEnv->uriMap,Host,
nPort, uri );
if( uriEnv!=NULL ) {
char *forwardURI;
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>