[pmwiki-users] still can't get my farm working

Patrick R. Michaud pmichaud at pobox.com
Mon Mar 14 16:22:19 CST 2005


On Mon, Mar 14, 2005 at 04:14:36PM -0500, Neil Herber wrote:
> At 2005-03-14  11:24 AM -0600, Patrick R. Michaud is rumored to have said:
> >> 3. In pmwiki, renamed pmwiki.php as index.php (thanks for that
> >> suggestion, Neil!)
> >
> >It's okay to rename pmwiki.php as index.php, but admins often forget
> >this when they upgrade.  Better is to create a symlink or shortcut
> >from index.php to pmwiki.php.
> 
> Please note that my original suggestion was related to fields in wiki 
> farms, viz:
> [...]
> 
> The field-based index.php file(s) has(have) the following contents:
> 
> <?php
>   include('X:/file/path/to/pmwiki/pmwiki.php');
> ?>
> 
> This means that upgrades are just a drop in.

Good point!  And it's worth pointing out that this trick also 
works in the farm directory as well as the field directories, 
and therefore ought to become a (or perhaps *the*) standard 
mechanism for admins who would otherwise rename pmwiki.php to index.php.

Pm



More information about the pmwiki-users mailing list