Kirby 4, IONOS, files from media not working

Hi all,

i try to host a kirby 4 project on an ionos premium web package.
In the htaccess i set: RewriteBase /, so the navigation works, also the panel.
But no files were loaded from the media folder. no images, videos, css and js files, in the front and backend. I set the whole media folder chmod: 775, same result.

Any ideas whats going wrong?

The .json files are in the media folder but not the files itself.

THX alot!

Do you load your page with or without www.?
I had the same problem without www. and IONOS.

Try forcing www via .htaccess and define the domain with www in your config.php

same result.

no real media files in the media folder. the json files are there.

also in the panel, all media files are broken, it seems that it doesn’t place the media files in the media folder but why?

When RewriteBase / does not the trick, is your instance in a subfolder?

it is in the “html” folder.

without “RewriteBase /” i wasn’t able to navigate to the subpages like /imprint.

If you access the image URLs (/media/pages/...) directly, do you see any error message or other hints at a problem? At this point when the image URL is requested, Kirby will generate the thumbs from the JSON jobs files, so it could be that something is going wrong during the thumb generation process.

Hi,

i get an 404 error, the images and videos are not in the media folder, die json files are placed there.
In the backend also css and js files are missing.

The thumb driver is gd cause inonos doesen’t support im.

What CHMOD rules does the vendor and kirby folder need?

As I wrote, the thumbs are only generated when they are requested. So it’s normal that just the JSON files are present until a successful request.

It seems like the entire media folder is not reachable (as the Panel assets are also kept there).

Do you use a custom folder setup? Please post the contents of your index.php file and .htaccess (if applicable).

Those files are only ever read by Kirby, so you don’t need to set the permissions to anything special.

strange, after your post, i took the htaccess files from the original starterkit, changed the rewrite path, uploaded it and it works now. but only with www. without the fonts are not loaded.

thx for help!