We are running TS 6.1 on windows 2003 with IIS 6.0. On IIS we have multiple sites configured for preview on different ports. Depending on branch we are doing a redirect to the respective sites on IIS using pre connect remaps.
We are facing the following issue while previewing an aspx page. The user controls in the aspx page (TPL) is getting redirected to Y:\ drive and is causing an error as we do not have user controls there. user controls reside only at IIS level directory and not in iw-mount.
We have the following code in TPL to refer to the user controls
<%@ Register TagPrefix="uc1" TagName="CommonHeader" src="/generic_module/commoncontrols/CommonHeader.ascx" %>
<%@ Register TagPrefix="uc1" TagName="CommonFooter" src="/generic_module/commoncontrols/CommonFooter.ascx" %>
Whenever we do a preview, it searches the controls in the workarea root. We have the following preconnect_remap settings in iw.cfg
[iwproxy_preconnect_remap]
_regex=/generic_module/(.*)=
http://10.200.154.240:86/generic_module/$1_regex=(.*)(/bwsite)(.*)/css/(.*)=
http://10.200.154.240:86/css/$4_regex=/ehrcss/(.*)=
http://localhost:81/ehrcss/$1_regex=(.*)(/BIP/)(.*)(/global_assets/)(.*)=$1$2STAGING$4$5
_regex=(.*)(/bwsite)(.*)/home_assets/(.*)=$1/bwsite/admin/STAGING/home_assets/$4
_regex=(.*)(/eHR)(.*)/home_assets/(.*)=$1/eHR/admin/STAGING/home_assets/$4
_regex=(.*)(/WORKAREA/)([^/]*)(.*)local_assets/(.*)=$1/STAGING/local_assets/$5
_regex=(^/iw-mount/default/main/intranet/BIP/bwsite)(.*)(/generic_module/)(.*)=
http://10.200.154.240:86/$3/$4_regex=(^/iw-mount/default/main/intranet/BIP/bwsite)(.*)(/bfwerrorlog/)(.*)=
http://10.200.154.240:86/$3/$4_regex=(^/iw-mount/default/main/intranet/BIP/bwsite)(.*)=
http://10.200.154.240:86/$1/$2_regex=(^/iw-mount/default/main/intranet/bpworld)(.*)=
http://10.200.154.240:81/$1/$2_regex=(^/iw-mount/default/main/intranet/BIP/e-HR)(.*)=
http://10.200.154.240:81/$1/$2All other aspx code is working fine and aspx pages are getting virtualised.
The ASPX code user server.mappath to get the server root and this seems to get appended with the iw-mount path by the web-daemon/proxy.
Is this a known issue and is there any work around for this?
Thanks,
Suj