<div>I'd like to have PmWiki choose which page to show based on the referrer to PmWiki without depending on external rewriting of the addresses involved. For example:</div><div><br class="webkit-block-placeholder"></div>
<div> ... if my wiki is "<a href="http://target.com/pmwiki.php">http://target.com/pmwiki.php</a>", </div><div><br class="webkit-block-placeholder"></div><div> ... a link on "<a href="http://source.com/foo">
http://source.com/foo</a>" to "<a href="http://target.com/pmwiki.php?n=Bob">http://target.com/pmwiki.php?n=Bob</a>" </div><div> would end up retrieving "Bob/foo" </div><div><br class="webkit-block-placeholder">
</div><div> but </div><div><br class="webkit-block-placeholder"></div><div><div> ... a link on "<a href="http://source.com/bar">http://source.com/bar</a>" to "<a href="http://target.com/pmwiki.php?n=Bob">
http://target.com/pmwiki.php?n=Bob</a>" </div><div> would end up retrieving "Bob/bar" </div><div><br class="webkit-block-placeholder"></div><div>I know how to get and parse the referrer in PHP, but I am not clear on how to get PmWiki to redirect its efforts toward showing a page other than the one it was called to show.
</div><div><br class="webkit-block-placeholder"></div><div>Any quick hints as to how to go about this in the Bob.php group config page?</div><div><br class="webkit-block-placeholder"></div><div>Thanks,</div><div>...Eric</div>
<div><br class="webkit-block-placeholder"></div></div>