Can't login after installation

Hey there,

I just installed cockpit on a raspberry pi, but after the success page I get a 404 to
http://dev-pi.local/cockpit/auth/login?to=/

Versions:
Server version: Apache/2.4.38 (Raspbian)
# PHP Version 7.3.14-1~deb10u1

Extension:
/etc/php/7.3/apache2/conf.d/10-mysqlnd.ini, /etc/php/7.3/apache2/conf.d/10-opcache.ini, /etc/php/7.3/apache2/conf.d/10-pdo.ini, /etc/php/7.3/apache2/conf.d/15-xml.ini, /etc/php/7.3/apache2/conf.d/20-bz2.ini, /etc/php/7.3/apache2/conf.d/20-calendar.ini, /etc/php/7.3/apache2/conf.d/20-ctype.ini, /etc/php/7.3/apache2/conf.d/20-curl.ini, /etc/php/7.3/apache2/conf.d/20-dom.ini, /etc/php/7.3/apache2/conf.d/20-exif.ini, /etc/php/7.3/apache2/conf.d/20-fileinfo.ini, /etc/php/7.3/apache2/conf.d/20-ftp.ini, /etc/php/7.3/apache2/conf.d/20-gd.ini, /etc/php/7.3/apache2/conf.d/20-gettext.ini, /etc/php/7.3/apache2/conf.d/20-iconv.ini, /etc/php/7.3/apache2/conf.d/20-json.ini, /etc/php/7.3/apache2/conf.d/20-mbstring.ini, /etc/php/7.3/apache2/conf.d/20-mysqli.ini, /etc/php/7.3/apache2/conf.d/20-pdo_mysql.ini, /etc/php/7.3/apache2/conf.d/20-pdo_sqlite.ini, /etc/php/7.3/apache2/conf.d/20-phar.ini, /etc/php/7.3/apache2/conf.d/20-posix.ini, /etc/php/7.3/apache2/conf.d/20-readline.ini, /etc/php/7.3/apache2/conf.d/20-shmop.ini, /etc/php/7.3/apache2/conf.d/20-simplexml.ini, /etc/php/7.3/apache2/conf.d/20-sockets.ini, /etc/php/7.3/apache2/conf.d/20-sqlite3.ini, /etc/php/7.3/apache2/conf.d/20-sysvmsg.ini, /etc/php/7.3/apache2/conf.d/20-sysvsem.ini, /etc/php/7.3/apache2/conf.d/20-sysvshm.ini, /etc/php/7.3/apache2/conf.d/20-tokenizer.ini, /etc/php/7.3/apache2/conf.d/20-wddx.ini, /etc/php/7.3/apache2/conf.d/20-xmlreader.ini, /etc/php/7.3/apache2/conf.d/20-xmlwriter.ini, /etc/php/7.3/apache2/conf.d/20-xsl.ini, /etc/php/7.3/apache2/conf.d/20-zip.ini

Modules:
-rw-r–r-- 1 root root 15742 Okt 15 2019 httpd.exp
-rw-r–r-- 1 root root 3446392 Feb 16 16:07 libphp7.3.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_access_compat.so
-rw-r–r-- 1 root root 5492 Okt 15 2019 mod_actions.so
-rw-r–r-- 1 root root 13684 Okt 15 2019 mod_alias.so
-rw-r–r-- 1 root root 5492 Okt 15 2019 mod_allowmethods.so
-rw-r–r-- 1 root root 5440 Okt 15 2019 mod_asis.so
-rw-r–r-- 1 root root 13684 Okt 15 2019 mod_auth_basic.so
-rw-r–r-- 1 root root 30128 Okt 15 2019 mod_auth_digest.so
-rw-r–r-- 1 root root 21876 Okt 15 2019 mod_auth_form.so
-rw-r–r-- 1 root root 5492 Okt 15 2019 mod_authn_anon.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_authn_core.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_authn_dbd.so
-rw-r–r-- 1 root root 5492 Okt 15 2019 mod_authn_dbm.so
-rw-r–r-- 1 root root 5492 Okt 15 2019 mod_authn_file.so
-rw-r–r-- 1 root root 13704 Okt 15 2019 mod_authn_socache.so
-rw-r–r-- 1 root root 25972 Okt 15 2019 mod_authnz_fcgi.so
-rw-r–r-- 1 root root 46464 Okt 15 2019 mod_authnz_ldap.so
-rw-r–r-- 1 root root 17780 Okt 15 2019 mod_authz_core.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_authz_dbd.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_authz_dbm.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_authz_groupfile.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_authz_host.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_authz_owner.so
-rw-r–r-- 1 root root 5492 Okt 15 2019 mod_authz_user.so
-rw-r–r-- 1 root root 34164 Okt 15 2019 mod_autoindex.so
-rw-r–r-- 1 root root 13736 Okt 15 2019 mod_brotli.so
-rw-r–r-- 1 root root 5440 Okt 15 2019 mod_bucketeer.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_buffer.so
-rw-r–r-- 1 root root 25972 Okt 15 2019 mod_cache_disk.so
-rw-r–r-- 1 root root 62928 Okt 15 2019 mod_cache.so
-rw-r–r-- 1 root root 30140 Okt 15 2019 mod_cache_socache.so
-rw-r–r-- 1 root root 5492 Okt 15 2019 mod_case_filter_in.so
-rw-r–r-- 1 root root 5492 Okt 15 2019 mod_case_filter.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_cern_meta.so
-rw-r–r-- 1 root root 30080 Okt 15 2019 mod_cgid.so
-rw-r–r-- 1 root root 21876 Okt 15 2019 mod_cgi.so
-rw-r–r-- 1 root root 17780 Okt 15 2019 mod_charset_lite.so
-rw-r–r-- 1 root root 9536 Okt 15 2019 mod_data.so
-rw-r–r-- 1 root root 42356 Okt 15 2019 mod_dav_fs.so
-rw-r–r-- 1 root root 13684 Okt 15 2019 mod_dav_lock.so
-rw-r–r-- 1 root root 87412 Okt 15 2019 mod_dav.so
-rw-r–r-- 1 root root 17780 Okt 15 2019 mod_dbd.so
-rw-r–r-- 1 root root 30068 Okt 15 2019 mod_deflate.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_dialup.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_dir.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_dumpio.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_echo.so
-rw-r–r-- 1 root root 5492 Okt 15 2019 mod_env.so
-rw-r–r-- 1 root root 9640 Okt 15 2019 mod_expires.so
-rw-r–r-- 1 root root 17780 Okt 15 2019 mod_ext_filter.so
-rw-r–r-- 1 root root 9608 Okt 15 2019 mod_file_cache.so
-rw-r–r-- 1 root root 13684 Okt 15 2019 mod_filter.so
-rw-r–r-- 1 root root 17784 Okt 15 2019 mod_headers.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_heartbeat.so
-rw-r–r-- 1 root root 21928 Okt 15 2019 mod_heartmonitor.so
-rw-r–r-- 1 root root 215604 Okt 15 2019 mod_http2.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_ident.so
-rw-r–r-- 1 root root 13684 Okt 15 2019 mod_imagemap.so
-rw-r–r-- 1 root root 42356 Okt 15 2019 mod_include.so
-rw-r–r-- 1 root root 22128 Okt 15 2019 mod_info.so
-rw-r–r-- 1 root root 5492 Okt 15 2019 mod_lbmethod_bybusyness.so
-rw-r–r-- 1 root root 5492 Okt 15 2019 mod_lbmethod_byrequests.so
-rw-r–r-- 1 root root 5544 Okt 15 2019 mod_lbmethod_bytraffic.so
-rw-r–r-- 1 root root 13736 Okt 15 2019 mod_lbmethod_heartbeat.so
-rw-r–r-- 1 root root 66984 Okt 15 2019 mod_ldap.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_log_debug.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_log_forensic.so
-rw-r–r-- 1 root root 100472 Okt 15 2019 mod_lua.so
-rw-r–r-- 1 root root 13684 Okt 15 2019 mod_macro.so
-rw-r–r-- 1 root root 161352 Okt 15 2019 mod_md.so
-rw-r–r-- 1 root root 21876 Okt 15 2019 mod_mime_magic.so
-rw-r–r-- 1 root root 13700 Okt 15 2019 mod_mime.so
-rw-r–r-- 1 root root 54648 Okt 15 2019 mod_mpm_event.so
-rw-r–r-- 1 root root 25976 Okt 15 2019 mod_mpm_prefork.so
-rw-r–r-- 1 root root 38260 Okt 15 2019 mod_mpm_worker.so
-rw-r–r-- 1 root root 25972 Okt 15 2019 mod_negotiation.so
-rw-r–r-- 1 root root 46452 Okt 15 2019 mod_proxy_ajp.so
-rw-r–r-- 1 root root 46524 Okt 15 2019 mod_proxy_balancer.so
-rw-r–r-- 1 root root 13684 Okt 15 2019 mod_proxy_connect.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_proxy_express.so
-rw-r–r-- 1 root root 21876 Okt 15 2019 mod_proxy_fcgi.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_proxy_fdpass.so
-rw-r–r-- 1 root root 38260 Okt 15 2019 mod_proxy_ftp.so
-rw-r–r-- 1 root root 25976 Okt 15 2019 mod_proxy_hcheck.so
-rw-r–r-- 1 root root 25980 Okt 15 2019 mod_proxy_html.so
-rw-r–r-- 1 root root 54700 Okt 15 2019 mod_proxy_http2.so
-rw-r–r-- 1 root root 34164 Okt 15 2019 mod_proxy_http.so
-rw-r–r-- 1 root root 13700 Okt 15 2019 mod_proxy_scgi.so
-rw-r–r-- 1 root root 108260 Okt 15 2019 mod_proxy.so
-rw-r–r-- 1 root root 13632 Okt 15 2019 mod_proxy_uwsgi.so
-rw-r–r-- 1 root root 13632 Okt 15 2019 mod_proxy_wstunnel.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_ratelimit.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_reflector.so
-rw-r–r-- 1 root root 21876 Okt 15 2019 mod_remoteip.so
-rw-r–r-- 1 root root 13736 Okt 15 2019 mod_reqtimeout.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_request.so
-rw-r–r-- 1 root root 58740 Okt 15 2019 mod_rewrite.so
-rw-r–r-- 1 root root 30068 Okt 15 2019 mod_sed.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_session_cookie.so
-rw-r–r-- 1 root root 17780 Okt 15 2019 mod_session_crypto.so
-rw-r–r-- 1 root root 13684 Okt 15 2019 mod_session_dbd.so
-rw-r–r-- 1 root root 13684 Okt 15 2019 mod_session.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_setenvif.so
-rw-r–r-- 1 root root 5492 Okt 15 2019 mod_slotmem_plain.so
-rw-r–r-- 1 root root 13684 Okt 15 2019 mod_slotmem_shm.so
-rw-r–r-- 1 root root 13684 Okt 15 2019 mod_socache_dbm.so
-rw-r–r-- 1 root root 13736 Okt 15 2019 mod_socache_memcache.so
-rw-r–r-- 1 root root 21928 Okt 15 2019 mod_socache_shmcb.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_speling.so
-rw-r–r-- 1 root root 194080 Okt 15 2019 mod_ssl.so
-rw-r–r-- 1 root root 21928 Okt 15 2019 mod_status.so
-rw-r–r-- 1 root root 13684 Okt 15 2019 mod_substitute.so
-rw-r–r-- 1 root root 5492 Okt 15 2019 mod_suexec.so
-rw-r–r-- 1 root root 5492 Okt 15 2019 mod_unique_id.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_userdir.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_usertrack.so
-rw-r–r-- 1 root root 9588 Okt 15 2019 mod_vhost_alias.so
-rw-r–r-- 1 root root 17780 Okt 15 2019 mod_xml2enc.so

As you can see, the mod_version modules is not existend on my raspberry.
THis is why I commented all ifVersion-Tags in the .htaccess in the cockpit-root.

But still I got the 404, do you have any tips for me, please?

Thanks and best regards

Try to drop the /cockpit so its just http://dev-pi.local/auth/login?to=/