You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by su...@apache.org on 2008/06/09 06:46:22 UTC

svn commit: r664625 - /webservices/axis2/trunk/c/src/core/transport/http/server/IIS/axis2_iis_worker.c

Author: supun
Date: Sun Jun  8 21:46:22 2008
New Revision: 664625

URL: http://svn.apache.org/viewvc?rev=664625&view=rev
Log:
IIS URL mapping was incorrect for IIS 6. Fixed it.

Modified:
    webservices/axis2/trunk/c/src/core/transport/http/server/IIS/axis2_iis_worker.c

Modified: webservices/axis2/trunk/c/src/core/transport/http/server/IIS/axis2_iis_worker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/server/IIS/axis2_iis_worker.c?rev=664625&r1=664624&r2=664625&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/server/IIS/axis2_iis_worker.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/server/IIS/axis2_iis_worker.c Sun Jun  8 21:46:22 2008
@@ -173,9 +173,14 @@
 	if (server_version <= 5)
 	{
 		axis2_worker_get_original_url(redirect_url, original_url);
+		/* create the url using the above variables */                     
+		sprintf(req_url, "%s%s%s%s", "http://", server_name, port, original_url);
 	}
-    /* create the url using the above variables */                     
-	sprintf(req_url, "%s%s%s%s", "http://", server_name, port, original_url);
+	else
+	{
+		sprintf(req_url, "%s%s%s%s", "http://", server_name, port, redirect_url);
+	}
+
     out_stream = axutil_stream_create_basic(env);
     out_desc = axis2_conf_get_transport_out(
         axis2_conf_ctx_get_conf (iis_worker->conf_ctx, env), env, AXIS2_TRANSPORT_ENUM_HTTP);