all 1 comments

[–]TaseAFeminist4Jesus 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (0 children)

I've definitely done things that way, where your site is just a C program hooked up to a web server program via CGI. I finally converted the last of my sites like that to PHP a few years ago, but that's really just a difference between languages (and Apache plug-ins). Either way, you don't need anything beyond a single file (.php or .c) and you really don't need to do a damned thing with request headers if you don't want to. It's a good way to go.