[pmwiki-users] is there a {$ServerUrl} page variable????

Neil Herber (nospam) nospam at eton.ca
Fri Jan 19 10:09:10 CST 2007


I am in the midst of trying to seamlessly migrate a bunch of wikis from
one server to another. I have set up the new server to listen on port 81
instead of 80 (the default).

So the URLs for the new server look like this:

> http://neil.eton.ca:81/wiki/index.php/Main/HomePage

I need to be able to specify the server URL for the SideBar links where 
I currently have things like:

> * [[http://neil.eton.ca/commoninfo/webmastermail.shtml | Contact Form]]

which break because it is missing the port number. (It actually goes to 
the old server.)

How do I do something like this:

> * [[{$ServerUrl}commoninfo/webmastermail.shtml | Contact Form]]


????

Editing the originals is not an option, because once the migration is 
complete, the port will be bumped back to 80.

-- 
Neil Herber
Corporate info at http://www.eton.ca/





More information about the pmwiki-users mailing list