If you use a server that offers path rewriting, you could use that feature; for example under Apache with mod_rewrite, you could add to the htaccess placed in the root of secondsite:<br><br>RewriteBase /firstsite<br><br>I think that would work on an intranet, but definitely not on the internet, where the URL syntax specifies that from the // to the first / should be (at least) a domain name (which you would have to own for the redirection to work<br>
<br>This is covered in the docs at<br><a href="http://www.pmwiki.org/wiki/Cookbook/CleanUrls">http://www.pmwiki.org/wiki/Cookbook/CleanUrls</a><br><br>Good luck,<br>Radu<br><br><br><div class="gmail_quote">On Wed, Mar 25, 2009 at 7:14 AM, david roundell <span dir="ltr">&lt;<a href="mailto:roundelld@hotmail.com">roundelld@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I&#39;m running two sites under iis at work for seperate intranets. in order to get ldap to work correctly I had to turn on URL redirection for the 2nd site. so<br>

<br>
<a href="http://firstsite" target="_blank">http://firstsite</a><br>
<br>
<a href="http://firstsite/secondsite" target="_blank">http://firstsite/secondsite</a><br>
<br>
both work ok in ldap. I would prefer to have<br>
<br>
<a href="http://secondsite" target="_blank">http://secondsite</a> show in the address bar so as not to confuse users.<br>
<br>
is there a script I could use to force the URL displayed on the address bar to only show this?<br>
<br>
apologies if this is outside of pmwikis remit!<br>
<br>
thanks for any advice!<br>
<br>
david<br>
<br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</blockquote></div><br>