Hi everyone!

I'm running OpenServer on Win11 with D10 fresh installation.

Right after the installation process, I noticed that website styles were missing and aggregated CSS and js files returned 404 error.

I've turned off the aggregate option and CSS with JS now working on my site.

Also, I've noticed that all Image Styles are missed: https://prnt.sc/zsj_ckvuyskp

However, if I go to the Image Style config page, then I could see a croped Image Style: https://prnt.sc/IjTO3HL5pGov

I've added these settings https://www.drupal.org/node/2888767#nginx-php-fpm to my nginx vhost file, but it didn't help

Could anyone point me on the right direction, how to solve it?

Thanks.

Comments

rmcf’s picture

Have the same problem on Drupal 10.1.6 at the shared web-hosting with Apache 2.4.58 and PHP 8.1.25. To make custom images styles working and thumbnails visible I have commented options in the file:

/public_html/sites/default/files/.htaccess 

and now it looks like this:

# Turn off all options we don't need.
# Options -Indexes -ExecCGI -Includes -MultiViews

I am not sure is that the safest solution but it works for me

NikaDevs’s picture

Hi,

Thanks, in my case I solved it by switching to Apache instead of Apache + NGINX.