mturk 2002/10/09 10:10:52
Modified: jk/native2/server/apache2 mod_jk2.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.54 +3 -7 jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c
Index: mod_jk2.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- mod_jk2.c 23 Sep 2002 17:40:17 -0000 1.53
+++ mod_jk2.c 9 Oct 2002 17:10:52 -0000 1.54
@@ -629,7 +629,6 @@
{
jk_uriEnv_t *uriEnv;
jk_env_t *env;
- int port;
if(r->proxyreq || workerEnv==NULL) {
return DECLINED;
@@ -679,12 +678,9 @@
the real mapping.
*/
- port = ap_get_server_port(r);
- if (ap_is_default_port(port, r))
- port = 0;
uriEnv = workerEnv->uriMap->mapUri(env, workerEnv->uriMap,
- r->server->is_virtual ? ap_get_server_name(r) : NULL,
- port,
+ ap_get_server_name(r),
+ ap_get_server_port(r),
r->uri);
if( uriEnv== NULL || uriEnv->workerName == NULL) {
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>