That's a good point. At the beginning I was using a CGI script in Python with Apache, but I wanted to learn how HTTP works and how to use sockets and list directory contents in C. I experimented and eventually got something that I liked, so that's why I continued working on it ^.^
(Sorry, it's the first time I post on Lemmy. I thought I was writing an edit summary after fixing a typo in my post. And deleting my comment leaves a "Deleted by creator", so better leave it there I guess)