[pmwiki-users] FW: Installation Quest.: How to pt. web server to pmwiki.php script( thx to Peter/Neil, & Christian)

Karina texask at gmail.com
Mon May 7 16:00:54 CDT 2007


Neil Herber (nospam <nospam <at> eton.ca> writes:

> 
> Karina wrote:
> > -I renamed the file:"sample-config.php" to "config.php" and took it out of 
the 
> > doc directory.  Do I bring it up to the root directory, (i.e. place the 
config 
> > right next to my "pmwiki" file?  Or do I put it within the "pmwiki" file, 
next 
> > to the "cookbook, docs, local, pub" etc. files?
> 
> Just to be perfectly clear, "cookbook, docs, local, and pub" are called 
> folders or directories. A folder can contain a file, such as 
> "config.php". You need to move your config.php file into the "local" folder.
> 
> > 
> > -And then I went (uncommented out too)to the 
> > $ScriptUrl &
> > $PubDirUrl sections
> > 
> > for $ScriptUrl:
> > tried: http://www.mydomain.com/pmwiki/pmwiki.php  (didn't work)
> > tried: 'http://www.mydomain.com/pmwiki/55plus_070503/pmwiki.php'
> > 
 -----Oorspronkelijk bericht-----
> Van: pmwiki-users-bounces <at> pmichaud.com [mailto:pmwiki-users-
> bounces <at> pmichaud.com] Namens Karina
> Verzonden: maandag 7 mei 2007 0:45
> Aan: pmwiki-users <at> pmichaud.com
> Onderwerp: Re: [pmwiki-users]FW: Installation Question: How to point web
> server topmwiki.php script on the server?
> 
> Peter K.H. Gragert <p.k.h.gragert <at> skyaccess.nl> writes:
> 
[Peter K.H. Gragert] 
Please tell us your website address: www.????.??? Than we can help easier!
You said that pmwiki.php is in the top-level directory, let us indicate it
as /
So you should have this structure on your server:
/pmwiki.php (and you should type in your browser's addressfield
    http://whereyourwebsitelives/pmwiki.php to activate your wiki!)
    whereyourwebsitelives ist NATURALLY something like www.google.com not 
    Google but yours! See above!)
/local/config.php
/doc/sample-config.php (so this file you renamed and copied it to / but it 
       must be in /local !!!!)
/wikilib.d/.... ( a lot of files)
/wiki.d/... (will be created if you create new pages in your wiki!)
/pub/... (here scripts and the skins etc. are living)
... (not interesting at this moment)


> > This is for my local tests, so you have to replace localhost/pmwikis
> (see
> > YOUR config.php to understand by comparing!) to your website and
> > place=directory, where pmwiki.php lives!

[Peter K.H. Gragert] Please do the comparison!

Only uncomment (for this moment) the indicated lines to start!
Indeed as Neil said in an other post, uncomment only what you understand,
but those I indicated are more or less necessary to get you going.

> -And then I went (uncommented out too)to the
> $ScriptUrl &
> $PubDirUrl sections
> 
>[Peter K.H. Gragert] 
See above. Give us the address of your web server or trying an example
Suppose your website lives at http://www.karina.com
then those lines should become:
$ScriptUrl = 'http://www.karina.com/pmwiki.php';
$PubDirUrl = 'http://www.karina.com/pub';
OK?

[Peter K.H. Gragert] 
By the way Lines in config.php with ## in front of a line are meant as
comment, meaning do not remove ever 
These lines document a line with only one # at the beginning



Hi Everyone,

Thanks SO much for your help. 
The site name is:  www.hispanic.org

Just to make sure I have this set up right:
*Root directory has 1 folder: "pmwiki-2.2.0-beta" --> I renamed to "pmwikis"
**Clicking on "pmwikis" folder: there are the 6 folders: "cookbook,docs, 
local, pub, scripts, wikilib.d" & "pmwiki.php" 
***I put the "config" file in the "local" folder as Neil directed.(thx for the 
explanation) 

I have tried:
$ScriptUrl = 'http://www.hispanic.org/pmwiki.php'
$PubDirUrl = 'http://www.hispanic.org'

$ScriptUrl = 'http://www.hispanic.org/pmwikis/pmwiki.php'
$PubDirUrl = 'http://www.hispanic.org/pub'

$ScriptUrl = 'http://www.hispanic.org/pmwikis/pmwiki.php'
$PubDirUrl = 'http://www.hispanic.org/pmwikis/pmwiki.pub'

It still isn't doing anything.  Thanks for the explanation about which lines 
to uncomment as well.(& bottom vs. top posting- got it)

I read most folks have this set up in 10 minutes - yikes!
I'm pretty unsavvy tech-wise, but, eventually after alot of questions (thx so 
much for your help!)...I'll get it.  I put up a content management system 
based template site a few months ago - i was lost initially!, but now I'm 
fairly passable & can load plug ins as well- as long as not too complex :D 
Hopefully that will happen here too!  Thanks for helping so much!

Karina





More information about the pmwiki-users mailing list