[pmwiki-users] Config.php, defaultpage and wikifarms

K.A.Bouton k.a.bouton at reading.ac.uk
Wed Apr 26 12:35:21 CDT 2006


The redirect seems to work.

Now I'm trying to figure out why, with enable mailposts on, I get email
everytime anyone LOOKS at a file, not justedits it!

thanks

> -----Original Message-----
> From: haganfox at gmail.com [mailto:haganfox at gmail.com] On 
> Behalf Of H. Fox
> Sent: Wednesday, April 26, 2006 6:31 PM
> To: K.A.Bouton
> Cc: pmwiki-users at pmichaud.com
> Subject: Re: [pmwiki-users] Config.php, defaultpage and wikifarms
> 
> 
> On 4/26/06, K.A.Bouton <k.a.bouton at reading.ac.uk> wrote:
> > I've got it to work with a redirect in pmwiki/index.php
> > Is that kosher?
> 
> If not, then then try
> 
>    <?php
>    chdir('wiki1');
>    include('pmwiki.php');
> 
> Hagan
> 
> > > -----Original Message-----
> > > From: noskule [mailto:noskule at gmx.net]
> > > Sent: Tuesday, April 25, 2006 8:26 PM
> > > To: K.A.Bouton
> > > Cc: pmwiki-users at pmichaud.com
> > > Subject: Re: [pmwiki-users] Config.php, defaultpage and wikifarms
> > >
> > >
> > > K.A.Bouton schrieb:
> > >
> > > > Is it possible toset the default page (in fact the default
> > > farm) to go
> > > > to when the url
> > > > _www.somewhere.com/pmwiki_
> > > <file://www.somewhere.com/pmwiki> is entered?
> > > >
> > > > Eg
> > > > Pmwiki
> > > >    wiki1
> > > >       main.homepage
> > > >    wiki2
> > > >      main.homepage
> > > >
> > > > When enter above url the user goes to wiki2.main.homepage
> > > (which I
> > > > tried to set as defaultpage in the config.php and it 
> dodn't work.
> > > >
> > > the server looks for an index file in the specified folder. If in 
> > > the pmwiki folder is an index.php or index.html file it 
> will open it
> > >
> > > in the "*www.somewhere.com/pmwiki/*index.php" file of your Pmwiki 
> > > you could write
> > >
> > > *     <?php* include('pmwiki.php');
> > >
> > >
> > > this will open the main wiki, the other wikis will open with
> > > *www.somewhere.com/pmwiki/wiki#*
> > >
> > > in the config.php you only have to set $FarmPubDirUrl
> > > grz nos
> > >
> > > > Thanks
> > > >
> > > > K
> 





More information about the pmwiki-users mailing list