<div>I&#39;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>&nbsp;&nbsp; &nbsp;... if my wiki is &quot;<a href="http://target.com/pmwiki.php">http://target.com/pmwiki.php</a>&quot;,&nbsp;</div><div><br class="webkit-block-placeholder"></div><div>&nbsp;&nbsp; &nbsp;... a link on &quot;<a href="http://source.com/foo">
http://source.com/foo</a>&quot; to &quot;<a href="http://target.com/pmwiki.php?n=Bob">http://target.com/pmwiki.php?n=Bob</a>&quot;&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;would end up retrieving &quot;Bob/foo&quot;&nbsp;</div><div><br class="webkit-block-placeholder">
</div><div>&nbsp;&nbsp; &nbsp;but&nbsp;</div><div><br class="webkit-block-placeholder"></div><div><div>&nbsp;&nbsp; &nbsp;... a link on &quot;<a href="http://source.com/bar">http://source.com/bar</a>&quot; to &quot;<a href="http://target.com/pmwiki.php?n=Bob">
http://target.com/pmwiki.php?n=Bob</a>&quot;&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;would end up retrieving &quot;Bob/bar&quot;&nbsp;</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.&nbsp;
</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>