Pmwiki

pmwiki is a 2 step install. It's on the official pmwiki page, there's not that much to do.

To change the password prompt page, edit Site.AuthForm.

To create a password hash for https://example.com/index.php?n=SiteAdmin.AuthUser, run this command:

$ php-7.4  
<?php echo password_hash("PASSWORD", PASSWORD_BCRYPT); ?>

Replace PASSWORD with your real password.

Clean url's

If you want clean url's you need to do the following (which I (Miniontoby) didn't really wanted to share)

add to your httpd.conf wiki block

        location match "/pub/(.*)" {
                request rewrite "/pub/%1"
        }
        location match "/cookbook/(.*)" {
                request rewrite "/cookbook/%1"
        }
        location match "/uploads/(.*)" {
                request rewrite "/uploads/%1"
        }
        location match "/(.*)/(.*)" {
                request rewrite "/pmwiki.php?n=%1.%2?$QUERY_STRING"
        }
        location match "/(.*)" {
                request rewrite "/pmwiki.php?n=%1?$QUERY_STRING"
        }

and edit your /var/www/htdocs/pmwiki/local/config.php:

$EnablePathInfo = 1; //for enabling automatic use
$ScriptUrl = 'https://wiki.example.com'; //for the homepage
$PubDirUrl = 'https://wiki.example.com/pub'; //for the pub dir
$UploadDir = "/var/www/htdocs/pmwiki/uploads"; //for the upload dir (plz make it firstly if not exist)
$UploadUrlFmt = "https://wiki.example.com/uploads"; //for upload dir on the wiki