<br><br><div class="gmail_quote">On Dec 16, 2007 1:40 AM, Shchupak, Vitaliy <<a href="mailto:Vitaliy.Shchupak@deshaw.com">Vitaliy.Shchupak@deshaw.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Try initializing the request with:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"><span><font color="#0000ff" face="Arial" size="2">subreq = 
RequestCLI('localhost/' + wikiname, 
properties={'script_name':'/'+wikiname})</font></span></font></span></div>
<div><font color="#0000ff" face="Arial" size="2"><span>(may 
need to me adjusted for 1.6+)</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div><span><font color="#0000ff" face="Arial" size="2">Vitaliy</font></span></div></div></blockquote></div><br><br>My macro works well for wikis in a farm where each wiki is located by "host/wikiname", but I can't get it to work for root mounted wikis, where the url is "
wikiname.host/".<br><br>I'm initializing the request like so:<br><br>inc_wiki = '<a href="http://otherwiki.host.com/">otherwiki.host.com/</a>'<br>req = request_cli.Request(inc_wiki, properties={'script_name': script_name})
<br><br>The script_name property was the key for getting the macro to work on a directory based farm, but root mounted all have a script_name of '/', and all the internal links in the  included page from <a href="http://otherwiki.host.com">
otherwiki.host.com</a> link to <a href="http://mainwiki.host.com">mainwiki.host.com</a>. <br><br>Is this a possible problem with the request_cli, or am I still missing something?<br><br>Thanks<br>-jim<br>