[pmwiki-users] Fwd: Editing Pmwiki *Locally* in a *Text Editor*

Sameer Kumar sameerkumar at gmail.com
Thu Apr 9 09:02:23 CDT 2009


Peter et al,

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...

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):

if ($_SERVER['SERVER_ADDR'] == "127.0.0.1"){
 $ScriptUrl = 'http://localhost/';
 $PubDirUrl = 'http://localhost/pub';
# $EnablePathInfo=0;
}
else {
$ScriptUrl = 'http://wiki.kumarsingh.com';
$PubDirUrl = 'http://wiki.kumarsingh.com/pub';
}

However, once loaded, all links resolve to literally:
http://localhost***/Group/Page ! (including the three asterixes).
Looking at the source of this page, I could see the following:

 <link rel='stylesheet' href='http://localhost***/skins/cpmwiki/cpmwiki.css'
type='text/css' />
  <script type="text/javascript" src="http://localhost
***/skins/cpmwiki/sorttable.js"></script>

As you can see, it is again with the "***" after the "localhost". 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?

Bump!Any suggestions regarding the "*****" that show up in my URLs?

All help will be greatly appreciated!
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090409/8c8b9146/attachment.html 


More information about the pmwiki-users mailing list