TreWiki is not configured properly:

0. check configuration in /etc/apache2/sites-enabled/xxxx
AllowOverride All
1. edit /home/marcomoser/public_html/data/.htaccess
AuthName "TreWiki protection"
AuthType Basic
AuthUserFile /home/xxx/.htpasswd
Require user xxx
2. change permission
chmod 660 /home/marcomoser/public_html/data/.htaccess
3. create password db
/usr/bin/htpasswd -c /home/xxx/.htpasswd xxx
4. change permission
chmod 660 /home/xxx/.htpasswd
server parameters:
Array
(
    [HTTP_USER_AGENT] => CCBot/2.0 (https://commoncrawl.org/faq/)
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.5
    [HTTP_ACCEPT_ENCODING] => br,gzip
    [HTTP_HOST] => www.marcomoser.it
    [HTTP_CONNECTION] => Keep-Alive
    [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    [SERVER_SIGNATURE] => 
    [SERVER_SOFTWARE] => Apache
    [SERVER_NAME] => www.marcomoser.it
    [SERVER_ADDR] => 94.198.98.90
    [SERVER_PORT] => 80
    [REMOTE_ADDR] => 3.236.50.201
    [DOCUMENT_ROOT] => /home/marcomoser/public_html/
    [REQUEST_SCHEME] => http
    [CONTEXT_PREFIX] => 
    [CONTEXT_DOCUMENT_ROOT] => /home/marcomoser/public_html/
    [SERVER_ADMIN] => info@webtonic.it
    [SCRIPT_FILENAME] => /home/marcomoser/public_html/data/3w-login.php
    [REMOTE_PORT] => 54424
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => GET
    [QUERY_STRING] => to=%2Findex.php%2Findex&deleteme=1
    [REQUEST_URI] => /data/3w-login.php?to=%2Findex.php%2Findex&deleteme=1
    [SCRIPT_NAME] => /data/3w-login.php
    [PHP_SELF] => /data/3w-login.php
    [REQUEST_TIME_FLOAT] => 1627723644.555
    [REQUEST_TIME] => 1627723644
)