[pmwiki-users] 404 errors when following action link
David Annett
david at annett.co.nz
Sat Nov 22 00:50:08 PST 2025
I had $ScriptUrl commented out. Setting didn't help. I don't have
CleanURLs or $EnablePathInfo defined that I can see.
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.
On 22/11/25 17:40, Petko Yotov wrote:
> There looks like a problem with the $ScriptUrl variable.
>
> It should point to the browser-reachable URL of your index.php or
> pmwiki.php file, for example:
>
> $ScriptUrl = 'https://www.example.com/wiki/index.php';
> $ScriptUrl = 'http://192.168.1.55/wiki/index.php';
>
> Or a path without the domain name or IP address:
> $ScriptUrl = '/wiki/index.php';
>
> 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.
>
> 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.
>
> Petko
More information about the pmwiki-users
mailing list