[pmwiki-users] Config.php, defaultpage and wikifarms
K.A.Bouton
k.a.bouton at reading.ac.uk
Wed Apr 26 04:02:55 CDT 2006
Maybe my question wasn't clear or I'm not understanding the answer.
When soomeone enters www.somewhere.com/pmwiki
I want them to default to
www.somewhere.com/pmwiki/Wiki1
This can be done for groups with the defaultpage in config.php but I can't
make defaultpage work with field.group.defaultpage
> -----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
> >
> >-------------------------------------------------------------
> ----------
> >-
> >
> >_______________________________________________
> >pmwiki-users mailing list
> >pmwiki-users at pmichaud.com
> >http://host.pmichaud.com/mailman/listinfo/pmwiki-users
> >
> >
>
More information about the pmwiki-users
mailing list