[pmwiki-users] get rid of group Main from url

Patrick R. Michaud pmichaud at pobox.com
Wed Nov 8 11:30:14 CST 2006


On Wed, Nov 08, 2006 at 10:24:52AM -0600, JB wrote:
> * Patrick R. Michaud wrote, On 11/8/2006 8:18 AM:
> > Here's what I have now -- you can see it working at
> 
> 
> Here are my config.php and farmconfig.php files.
> Perhaps you can tell me why it does not work for me.
> It makes the index.php and ".Main" display.
> [...]

Your farmconfig.php script is calling ResolvePageName() 
before the value of $PagePathFmt has been set in config.php.
Thus, ResolvePageName() is treating "?n=SomeName" as being
a reference to the SomeName group instead of Main.SomeName.

Pm




More information about the pmwiki-users mailing list