This is localhost with apache 2.4.29 and php 7.2.24
mbstring, curl, ctype, gd enabled
Adding gibberish to .htacesss (before the IfModule mod_rewrite.c tag) produces a 500 internal server error
var/www/html/ , var/www/html/starterkit and all subfolders are root/root drwxr-xr-x
All files are root/root -rw-r–r--
I tried with ‘RewriteBase /’ and ‘RewriteBase /starterkit’ to no avail
I also tried to serve the starterkit from a user directory at ~/public_html/starterkit whose .htaccess also produces a 500 internal server error if filled with gibberish, and whose folders and files have the same permissions although not root/root owned but user/user (user being my user)
Btw, there is no media folder in ‘/var/www/html/starterkit’ but there IS a media folder in ‘/home/myuser/starterkit’, this media folder is created and owned by www-data (apache user) but still no images or panel in either location.
I just tried adding www-data as group owner to the html folder recursively , and giving group write access to it also recursively. So now www-data should have write access to all of /html folder
That allowed apache to create a media folder there aswell, but, again, no images or panel.
I’ve checked permissions on an external HD rsync backup of a working local installation:
var/html/webdev drwxr-xr-x myuser/myuser
var/html/webdev/kirbyfolder drwxrwxr-x myuser/myuser
var/html/webdev/kirbyfolder/content and /media drwxrwxr-x myuser/www-data (apache)
rest of folders drwxrwxr-x myuser/myuser
non executable files -rw-rw-r-- myuser/myuser
executable files -rwxrwxr-x myuser/myuser
Which would mean it complied with 755/644 permissions AND had write permissions for apache on ‘content’ and ‘media’ folders.
No other hints there
I checked again php info and mbstring seems to be enabled.