I have created a fresh installation of Nextcloud Hub 9 (30.0.4). I would like to synchronize data from various web projects via Nextcloud.
These web projects have various .htaccess files.
According to this page, I can use the value ‘forbidden_filename_basenames’ in config.php to define which files can be excluded without a value before the dot.
Can I also use a
[
…
‘forbidden_filename_basenames’ => ,
…
]
so that .htaccess files are allowed again? After my test, this did nothing. How do I allow the synchronization / uploading of .htaccess files again?
The log says
Error no app in context Invalid path: files/path/to/.htaccess 28.12.2024, 19:17:28
The Basics
Nextcloud Server version:
30.0.4
Operating system and version:
Debian 12.8
Web server and version :
Apache/2.4.62 (Debian)
Reverse proxy and version
Ngnix (on other Server)
PHP version:
8.2
Is this the first time you’ve seen this error? (Yes / No):
see below - after first install
When did this problem seem to first start?
after sync folder with .htaccess files
Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Manual with Archive
Are you using CloudfIare, mod_security, or similar?