Permissions problem on live-server / locally on Herd everything works

Hi there,
i uploaded a new Kirby-Website on the Server of the client (self-hosting) and the first thing I saw was an Error "The directory “…/…/…/cache/xxx” cannot be created.
Okay, I fixed the directory permission of the cache-folder to 775. Now I see the website but without any pictures. Seems to be a problem with the files kirby creates on the server or the permissions of these files.
When I try to get into the panel I get an 404 error:

Not Found

The requested URL was not found on this server.

Apache/2.4.59 (Debian) Server at www2.bzg-md.de Port 443

Can you please help me? Is this something I can fix, or is this something, the IT-company, who set up the server, has to fix?

Beste regards, Matthias

I think the main problem here is that url rewriting does not work, not only the Panel is not accessible, but neither are subpages.

Also, check that the media folder (and all other relevant folders) are writable (permissions and ownership).

If the problems with the images persists after those issues are fixed, it might be that the gd library is missing or not enabled.

Thanks! so to concretize my question. Is this something I can fix by configuring kirby or are this problems related with a wrong server configuration?
(The background is: the IT-Company blames me that kirby does unnormal things on the server - but I never had any problems in the past with professional hosting solutions of my clients.)

You could try this in your .htaccess (if that’s the correct path), but if the module mod_rewrite is not enabled, then this won’t help, I think.


<Directory /var/www/html>
    AllowOverride All
</Directory>

You can check with phpinfo() if gd is present and enabled.

Kirby certainly doesn’t do unnormal things on the server, it’s a normal PHP application, not a ghost.