<div class="gmail_quote"><span class="Apple-style-span" style="font-size: x-small;">On Sun, Mar 22, 2009 at 2:46 PM, Peter K.H. Gragert </span><span dir="ltr"><span class="Apple-style-span" style="font-size: x-small;">&lt;<a href="mailto:p.k.h.gragert@misc.utwente.nl">p.k.h.gragert@misc.utwente.nl</a>&gt;</span></span><span class="Apple-style-span" style="font-size: x-small;"> wrote:<br>

</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><span class="Apple-style-span" style="font-size: x-small;">Hi,<br>
My way of working is as follows:<br>
I installed XAMPP do be able to run PmWiki locally. No Vim editing needed!<br>
And you see at once the effect of local editing ;-).<br>
I use FileZilla to up- or download, and the newest version<br>
can show you with color-highlighting what the difference  is ...<br>
So I can easily see, which files should be synchronized.</span><br></blockquote><div><br>Does Filezilla have an actual &quot;syncronize&quot; function? I havent been able to find it :-( </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


<br>
It means, my local and remote PmWiki(s) are identical.<br>
<br>
By the way, my config.php contains e.g.<br>
if ($_SERVER[&#39;SERVER_ADDR&#39;] == &quot;127.0.0.1&quot;){<br>
  $ScriptUrl = &#39;<a href="http://localhost" target="_blank">http://localhost</a>***&#39;;<br>
  $PubDirUrl = &#39;<a href="http://localhost" target="_blank">http://localhost</a>***&#39;;<br>
<br>
 } else {<br>
  $ScriptUrl = &#39;http://***&#39;;<br>
  $PubDirUrl = &#39;http://***&#39;;<br>
  $PKHGjQuery = &#39;http://***&#39;;<br>
  $PageLogoUrl = &quot;http://***&quot;;<br>
}<br>
<br>
Where the *** naturally are to be replaced by YOUR URL&#39;s, so even your<br>
config.php maybe up or downloaded.<br></blockquote><div><br></div><div>Peter et al,</div><div><br></div><div>I followed your advise above with the XAMPP and a mirror setup of the wiki on my laptop. I got XAMPP working alright and I can even get to the homepage of the wiki. However, the page is unformatted and none of the links in the wiki work...</div>

<div><br></div><div>This is exactly what I have added to my local config file (my wiki folder is located at C:\xampp\htdocs\wiki, which is also the documentroot for apache):</div><div><br></div><div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">if ($_SERVER[&#39;SERVER_ADDR&#39;] == &quot;127.0.0.1&quot;){</span></div>

<div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;"> $ScriptUrl = &#39;<a href="http://localhost/">http://localhost/</a>&#39;;</span></div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;"> $PubDirUrl = &#39;<a href="http://localhost/pub">http://localhost/pub</a>&#39;;</span></div>

<div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;"># $EnablePathInfo=0;</span></div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">}</span></div>

<div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">else {</span></div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">$ScriptUrl = &#39;<a href="http://wiki.kumarsingh.com">http://wiki.kumarsingh.com</a>&#39;;</span></div>

<div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">$PubDirUrl = &#39;<a href="http://wiki.kumarsingh.com/pub">http://wiki.kumarsingh.com/pub</a>&#39;;</span></div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">}</span></div>

<div><span class="Apple-style-span" style="font-size: 12px; "><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif;"><br></span></span></div><div><span class="Apple-style-span" style="font-size: 12px; "><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif;">However, once loaded, all links resolve to literally:</span></span></div>

<div><span class="Apple-style-span" style="font-size: 12px;"><a href="http://localhost">http://localhost</a>***/Group/Page ! (including the three asterixes).</span></div><div><span class="Apple-style-span" style="font-size: 12px;">Looking at the source of this page, I could see the following:</span></div>

<div><span class="Apple-style-span" style="font-size: 12px;"><br></span></div><div><span class="Apple-style-span" style="font-size: 12px;"><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;"> &lt;link rel=&#39;stylesheet&#39; href=&#39;<a href="http://localhost">http://localhost</a>***/skins/cpmwiki/cpmwiki.css&#39; type=&#39;text/css&#39; /&gt; </span></div>

<div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">  &lt;script type=&quot;text/javascript&quot; src=&quot;<a href="http://localhost">http://localhost</a>***/skins/cpmwiki/sorttable.js&quot;&gt;&lt;/script&gt;</span></div>

<div><br></div><div>As you can see, it is again with the &quot;***&quot; after the &quot;localhost&quot;. It makes no difference whether I type in Localhost or 127.0.0.1 in the URL bar. What am I doing wrong? How can I get the links to display correctly?</div>

<div><br></div><div>Thanks. </div><div>Sameer</div></span></div></div></div>