fossar / selfoss

multipurpose rss reader, live stream, mashup, aggregation web application
https://selfoss.aditu.de
GNU General Public License v3.0
2.35k stars 343 forks source link

[BUG] [2.19] Cannot load module (on browser console ) #1420

Closed mathys-lopinto closed 1 year ago

mathys-lopinto commented 1 year ago

Hello, I'm install the lasted stable version (2.19) run compose install, npm i, npm run build and chown folder, setup my apache2 conf (folder is /var/www/selfoss).

When i'm going to subdomain.domain.tld i have error on my browser console:

The loading of the module at "https://subdomain.domain.tld/index.18516a31.js" was blocked due to a prohibited MIME type ("text/html").

Can you help me to fix the bug?

jtojnar commented 1 year ago

Hi, what do you see if you if you open https://subdomain.domain.tld/index.18516a31.js

Most likely, you need to enable .htaccess support in Apache, see the Requirements section of the documentation.

mathys-lopinto commented 1 year ago

Thanks, I add

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

on my .conf and that work now.