<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    I have made progress, the query parts have the wrong separator.  On
    the page:<br>
      <a class="moz-txt-link-freetext" href="http://example.com/wiki/pmwiki.php?n=Site.APage">http://example.com/wiki/pmwiki.php?n=Site.APage</a><br>
    the edit URL provided is:<br>
      <a class="moz-txt-link-freetext" href="http://example.com/wiki/pmwiki.php?n=Site.APage?action=edit">http://example.com/wiki/pmwiki.php?n=Site.APage?action=edit</a><br>
    when it should be:<br>
      <a class="moz-txt-link-freetext" href="http://example.com/wiki/pmwiki.php?n=Site.APage&action=edit">http://example.com/wiki/pmwiki.php?n=Site.APage&action=edit</a><br>
    <div class="moz-cite-prefix"><br>
      Not sure if this is PMWiki issue or a Lighttpd issue but I am
      guessing this is something I can configure Lighttpd to deal with,
      but it would be better if the rendered page had the correct URL.<br>
      <br>
      On 22/11/25 21:50, David Annett wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:664eef51-639d-4943-bca1-8e4e68568360@annett.co.nz">I had
      $ScriptUrl commented out.  Setting didn't help.  I don't have
      CleanURLs or $EnablePathInfo defined that I can see.
      <br>
      <br>
      However .htaccess is a good clue as I have used Lighttpd in the
      RPI 5, instead of Apache I have used on the x64 implementation. 
      I'm going to look into that.
      <br>
      <br>
      <br>
      On 22/11/25 17:40, Petko Yotov wrote:
      <br>
      <blockquote type="cite">There looks like a problem with the
        $ScriptUrl variable.
        <br>
        <br>
        It should point to the browser-reachable URL of your index.php
        or pmwiki.php file, for example:
        <br>
        <br>
        $ScriptUrl = '<a class="moz-txt-link-freetext" href="https://www.example.com/wiki/index.php">https://www.example.com/wiki/index.php</a>';
        <br>
        $ScriptUrl = '<a class="moz-txt-link-freetext" href="http://192.168.1.55/wiki/index.php">http://192.168.1.55/wiki/index.php</a>';
        <br>
        <br>
        Or a path without the domain name or IP address:
        <br>
        $ScriptUrl = '/wiki/index.php';
        <br>
        <br>
        Normally PmWiki should autodetect this and you wouldn't need to
        define it. I'd check if your local/config.php has a value that
        is wrong, or points to the old server URL.
        <br>
        <br>
        If you were using CleanURLs or $EnablePathInfo - see Cookbook -
        there may be additional configuration on the server to direct
        such requests to PmWiki. For Apache servers it is often a
        .htaccess file, and it may be a "hidden" file, in a file manager
        you may need to enable "Show hidden files" to see it. Check if
        you need to migrate this file too.
        <br>
        <br>
        Petko
        <br>
      </blockquote>
      <br>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <title>ACCL_Sig</title>
      <br>
      <span style="font-weight: bold; color: rgb(0, 0, 0);">David Annett</span><br>
      <span style="color: rgb(0, 0, 0);">Annett Computer Company</span>
      <br>
      <br>
      <table>
        <tbody>
          <tr>
            <td>Email:</td>
            <td><span style="color: rgb(0, 0, 0);"><a class="moz-txt-link-abbreviated" href="mailto:david@annett.co.nz">david@annett.co.nz</a></span></td>
          </tr>
          <tr>
            <td>Website:</td>
            <td><a style="color: rgb(0, 0, 0);"
                href="http://www.annett.co.nz">www.annett.co.nz</a></td>
          </tr>
          <tr>
            <td>NZ mobile:</td>
            <td>+64 21 436 707</td>
          </tr>
          <tr>
            <td>USA mobile:</td>
            <td>+1 650 772 1412</td>
          </tr>
          <tr>
            <td>NZ address:</td>
            <td>90 Muhunoa West Rd, Ohau, Manawatu 5570, New Zealand</td>
          </tr>
          <tr>
          </tr>
          <tr>
            <td>NZ shipping address:</td>
            <td>2/6 Parker Ave, Levin 5510, New Zealand</td>
          </tr>
          <tr>
            <td>Signal:</td>
            <td>+64 21 436 707</td>
          </tr>
          <tr>
            <td>WeChat:</td>
            <td>DavidAnnett</td>
          </tr>
        </tbody>
      </table>
      <img style="width: 634px; height: 65px;" alt=""
        src="http://www.annett.co.nz/accl_banner.png">
    </div>
  </body>
</html>