Hi,
I have the following branching structure
Intranet
Sub Branch --- Global
Workarea ---- global_content
Sub Branch --- Mercury
Workarea ---- mercury_content
Sub Branch --- Eagle
Workarea ---- eagle_content
Some of the HTML pages in these branches have links like
../mercury/page_link or /mercury/page_link
../eagle3/page_link or /eagle3/page_link
Which effectively means that you want to reference a page in corresponding branch starting at its docroot.
To capture this I coded the following regular exp in
[iwproxy_preconnect_remap]
_regex=^/mercury(.*)/=
http://dev.company.com:81/iw-mount/default/main/Intranet/Mercury/WORKAREA/mercury_content/$2_regex=^/eagle3(.*)/=
http://dev.company.com:81/iw-mount/default/main/Intranet/Mercury/WORKAREA/mercury_content/$2Assuming that the $2 variable will contain the rest of the URL after /mercury or /eagle3 are matched.
I tried appending the docroot of that branch in front of $2. However it does not seems to work.
The proxy shows a URL like this
/iw-mount/default/main/Intranet/Mercury/WORKAREA/mercury_content/mercury/human_resources/index.htm
Hoping somebody will be able to tell me what I am doing wrong here ?
Thanks