Upload .htaccess - files whitelist?

Hello,

a few months ago I created the following topic Allow upload of htaccess files?.

Now I want to put this into practice and upload and synchronize .htaccess files directly in the web interface as well as via the Windows client.

Therefore I need some kind of whitelist or a way to edit the default blacklist via config.php.

I just checked the client it does not directly deny .htaccess files, so the problem is that the server doesn’t allows the upload.

I would be grateful for any help or idea.

I use owncloud server 10.3.2 it runs on a Raspberry Pi with Raspbian Buster an Apache, PHP, MySQL.
Windows Client 2.6.1

Add line to the section titled White listed folders above the final line with RewriteRule.

Thanks,

I’m not quite sure what you mean. Can you give me an example?

@Sharo1n Can you give me an example?