Hello!
Thanks for your quick response!
You were right! It's requesting the favicon, which then gets rewritten to /index.sh. The solution was to put:
Match ^/(favicon.ico|robots.txt|sitemap.xml)$ Return
on top of my Rewrite rules!
(I feel a bit dumb now.)
Thanks for your assistance. Have a nice weekend.