[pmwiki-users] Linking to pmwiki.php

H. Fox haganfox at gmail.com
Wed Jun 8 10:57:03 CDT 2005


Try:

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

It should be faster and more reliable than redirecting.

Hagan

On 6/8/05, zgrauer at earthlink.net <zgrauer at earthlink.net> wrote:
> I installed pmwiki and found out that it installs the program, pmwiki.php, in a subdirectory of my web root.
> 
> So in order that people who come to my web site will be redirected to the wiki, I tried creating a symbolic link
> from index.html to pmwiki/pmwiki.php.
> 
> I found out that when I do that, I first get several lines of error messages, and then the page is redirected to a
> non existing page http://pageurl (something like that).
> 
> Is that expected behavior? Is there something I can do to link as I tried above? Maybe call the page index.php?
> 
> Right now I do have an index.php that redirects using the php header function. However, the down side of that is
> that it takes longer to process (php on top of html) and it probably uses cpu without need.
> 
> Thanks,
> 
> Zvi.
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users
>




More information about the pmwiki-users mailing list