[pmwiki-users] Running pmwiki in a root directory?

H. Fox haganfox at users.sourceforge.net
Sun Oct 2 16:41:32 CDT 2005


On 10/1/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Sat, Oct 01, 2005 at 10:05:01PM -0500, Ryan Varick wrote:
> > This may be a bit obscure, but I would like to run pmwiki in the root
> > directory of my webserver.  Really, what I want to do is get rid of
> > the "wiki" part of the URL:
> >
> > Instead of:  http://www.myserver.com/wiki/Category/WikiPage ,
> > I'd like:  http://www.myserver.com/Category/WikiPage
> >
> > [...]
> >
> > But pmwiki wants wiki.d to be at the same level of index.php.  My PHP
> > skills aren't the greatest, so I don't know if this is feasible or
> > not.  Anyone have any suggestions?
>
> http://www.pmwiki.org/wiki/Cookbook/CleanUrls

IMHO that page has gone out of control.  Regardless, it doesn't
include the method I'm using, which is to have an /index.php file like
this one

    <?php
    chdir('wiki');
    include('pmwiki.php');
    ?>

See also
http://article.gmane.org/gmane.comp.web.wiki.pmwiki.user/13425

Hagan




More information about the pmwiki-users mailing list