[pmwiki-users] force URL to remain same in address bar
radu at monicsoft.net
Wed Mar 25 16:09:46 CDT 2009
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:
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
This is covered in the docs at
On Wed, Mar 25, 2009 at 7:14 AM, david roundell <roundelld at hotmail.com>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
> 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!
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users