[pmwiki] [Pmwiki-users] I'm not sure I understand Wiki paths

Bernhard Weichel in pmwiki-users pmwiki-users at b-weichel.2in.de
Mon Jun 9 05:46:12 CDT 2003


Hi, it could be that you are in the same problem as I am. My webhoster runs
php as CGI and not as a module. This gives me exactly the same problem.
Patrick
has figured out a customization which points the way to go:

<?php
  parse_str(str_replace('?','&',$_SERVER['QUERY_STRING']),$HTTP_GET_VARS);
  foreach($gvars as $v) {
    if (isset($HTTP_GET_VARS[$v])) $$v = $HTTP_GET_VARS[$v];
    elseif (isset($HTTP_POST_VARS[$v])) $$v = $HTTP_POST_VARS[$v];
  }
  $EnableDiag = 1;
  $PageUrlFmt = '$ScriptUrl?pagename=$Group.$Title_';
?>


This makes it work for browse and edit actions, not for the other.

I am searching for an appropriate apache rewrite, but still not successfull.

So now we are two...

-b

cobus at eudoramail.com wrote:
> Goodmorning,
>
> I just installed Wiki 0.4.22 on apache 2.0.43 and php 4.3.0. Now, when
> requesting http://localhost/pmwiki/pmwiki.php/Main/HomePage, apache
> returns: "The page cannot be found"
>
> As far as I understand urls, if I werte apache I would look for a
> file named HomePage in a directory named pmwiki/pmwiki.php/Main.
> there is no such file.
>
> What is it that I'm overlooking?
>
> cobus.
>
> _______________________________________________
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com





More information about the pmwiki-users mailing list