Since my webserver (the one that runs
badsectoracula.com and a bunch of other sites) has only 64MB of RAM (VPS restrictions), it uses a very tiny http server which serves only files and runs cgi scripts. All unmodifiable (from the users' point of view - like badsectoracula.com itself) are plain html files which are either hand made (like my
Flash MOD Player) or offline generated using a custom program i wrote. For the dynamic parts (like the forum) i use handmade CGI programs (not scripts, so i avoid the interpreter memory overhead) written in FreePascal.
These are simple enough and help me use a VPS that other people dont even dream about adding a single page for a bunch of sites and i never had a problem (if course i don't have a massive amount of visitors).