Thanks a lot Hans, works like a charm. I was worried there for a second.<br>Pundir<br><br><div><span class="gmail_quote">On 3/6/07, <b class="gmail_sendername">Hans</b> <<a href="mailto:design5@softflow.co.uk">design5@softflow.co.uk
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Tuesday, March 6, 2007, 7:01:51 PM, Prabhakar wrote:<br><br>> I installed pmwiki a few months ago internally for my small work group. The
<br>> wiki grew to be used by more than 300 people within out org!! Last night the<br>> IP address of the server machine changed. All the links and buttons in<br>> PMWiki seem to have hardcoded IP addresses. Is this correct? Is there a way
<br>> to change the IP address at one place? How do I migrate the whole Wiki to a<br>> different machine, seems like there should be a way to change the IP<br>> address.<br><br>Links and buttons etc are not hardcoded. In the skin tmpl file they
<br>are usually referenced with $ScriptUrl (the url which will run<br>pmwiki.php), and the pub/ folder for file(s) available for browser<br>access (like skin css fiels, images etc.) with $PubDirUrl.<br><br>It will probably be enough to change $ScriptUrl and $PubDirUrl in
<br>config.php, to reflect your new server urls.<br><br>for instance:<br>$ScriptUrl = '<a href="http://example.com/pmwiki/pmwiki.php">http://example.com/pmwiki/pmwiki.php</a>';<br>$PubDirUrl = '<a href="http://example.com/pmwiki/pub">
http://example.com/pmwiki/pub</a>';<br><br>Setting these is not always necessary though, but sometimes it is to<br>help pmwiki.php find the right file locations.<br><br>Strangely there is no mention of this in<br><a href="http://www.pmwiki.org/wiki/PmWiki/InitialSetupTasks">
http://www.pmwiki.org/wiki/PmWiki/InitialSetupTasks</a><br><br>Hope this helps.<br><br>Hans<br><br></blockquote></div><br>