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:
RewriteBase /firstsite 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 This is covered in the docs at http://www.pmwiki.org/wiki/Cookbook/CleanUrls Good luck, Radu On Wed, Mar 25, 2009 at 7:14 AM, david roundell <[email protected]>wrote: > I'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 > > http://firstsite > > http://firstsite/secondsite > > both work ok in ldap. I would prefer to have > > http://secondsite show in the address bar so as not to confuse users. > > is there a script I could use to force the URL displayed on the address bar > to only show this? > > apologies if this is outside of pmwikis remit! > > thanks for any advice! > > david > > _______________________________________________ > pmwiki-users mailing list > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users >
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
