I also remember that the first web based forums used a Perl script that actually created new HTML files on the web server when someone posted a new topic, and modified the existing one when someone posted a reply.
A bit similar to static web site generators today, only with endless security vulnerabilities.