.htaccess - Upgrading from OwnCloud 8.2.3 to OwnCloud 9.0.1 results in css and js being served as text/html -


i have been using owncloud quite while on ubuntu 14.04 lts headless server.

a couple days ago tried upgrade owncloud 9.0.1 , upon logging in first time after upgrade presented non styled layout.

if in browser console see many errors incorrect mime types:

refused execute script 'https://www.domain.at/cloud/core/vendor/jquery/jquery.min.js?v=a283428d5f34c45e26387d89361a95ba' because mime type ('text/html') not executable, , strict mime type checking enabled. www.domain.at/:1  refused execute script 'https://www.domain.at/cloud/core/vendor/jquery-migrate/jquery-migrate.min.js?v=a283428d5f34c45e26387d89361a95ba' because mime type ('text/html') not executable, , strict mime type checking enabled. www.domain.at/:1  refused execute script 'https://www.domain.at/cloud/core/vendor/jquery-ui/ui/jquery-ui.custom.js?v=a283428d5f34c45e26387d89361a95ba' because mime type ('text/html') not executable, , strict mime type checking enabled. www.domain.at/:1  refused execute script 'https://www.domain.at/cloud/core/vendor/underscore/underscore.js?v=a283428d5f34c45e26387d89361a95ba' because mime type ('text/html') not executable, , strict mime type checking enabled. www.domain.at/:1  refused execute script 'https://www.domain.at/cloud/core/vendor/moment/min/moment-with-locales.js?v=a283428d5f34c45e26387d89361a95ba' because mime type ('text/html') not executable, , strict mime type checking enabled. www.domain.at/:1  refused execute script 'https://www.domain.at/cloud/core/vendor/handlebars/handlebars.js?v=a283428d5f34c45e26387d89361a95ba' because mime type ('text/html') not executable, , strict mime type checking enabled. www.domain.at/:1  refused execute script 'https://www.domain.at/cloud/core/vendor/blueimp-md5/js/md5.js?v=a283428d5f34c45e26387d89361a95ba' because mime type ('text/html') not executable, , strict mime type checking enabled. www.domain.at/:1  refused execute script 'https://www.domain.at/cloud/core/vendor/bootstrap/js/tooltip.js?v=a283428d5f34c45e26387d89361a95ba' because mime type ('text/html') not executable, , strict mime type checking enabled. www.domain.at/:1  refused execute script 'https://www.domain.at/cloud/core/vendor/backbone/backbone.js?v=a283428d5f34c45e26387d89361a95ba' because mime type ('text/html') not executable, , strict mime type checking enabled. www.domain.at/:1  refused execute script 'https://www.domain.at/cloud/core/vendor/es6-promise/dist/es6-promise.js?v=a283428d5f34c45e26387d89361a95ba' because mime type ('text/html') not executable, , strict mime type checking enabled. www.domain.at/:1  refused execute script 'https://www.domain.at/cloud/core/vendor/davclient.js/lib/client.js?v=a283428d5f34c45e26387d89361a95ba' because mime type ('text/html') not executable, , strict mime type checking enabled. www.domain.at/:1  refused execute script 'https://www.domain.at/cloud/core/js/placeholders.js?v=a283428d5f34c45e26387d89361a95ba' because mime type ('text/html') not executable, , strict mime type checking enabled. 

i have checked ensure mime types module enabled.

i have tried adding:

addtype text/css .css addtype text/javascript .js 

to .htaccess file in owncloud root directory has not helped.

i tried adding .htaccess file in root web folder , has had no effect.

is there missing? else should check?

i asking here because owncloud devs of opinion due server configuration issue.

this happened me to.

i copied owncloud 8.2.x .htaccess , seems have fixed it.

i don't care enough go find exact cause, working, seem ownclouds problem need either find cause if apache/nginx/ubuntu/whatever setup issue, or fix it, seeing old .htaccess works.

owncloud complains .htaccess file fails integrity checks, that's not issue me.

if have found actual solution please post here.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -