Disabling banner (fixing invalid code integrity message)

hosting

#1

Hi, how can I disable integrity check for .htaccess.
Yes I have changed the file for the purpose of forcing SSL.

Or disabling banner (fixing invalid code integrity message) for administrators?

https://doc.owncloud.org/server/10.0/admin_manual/issues/code_signing.html

ownCloud 10.0.10

BR Janez


#2

Hey,

i have the following line in my .htaccess:

DO NOT CHANGE ANYTHING ABOVE THIS LINE

Maybe it helps doing your modification to this file below this line?


#3

in 10.0.10 there is no line
#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####
by default.
And yes it helped :slight_smile:. Tnx.


#4

Even if not recommended, an optional way is adding .htaccess to the exclude list in config.php.

See also: config.sample.php

'integrity.excluded.files' =>
        array (
                '.DS_Store',
                'Thumbs.db',
                '.directory',
                '.webapp',
                '.htaccess',
                '.user.ini',
        ),