And, you are correct. It looks like they're not that difficult.
At the risk of spurring an open source scripting language war, a
simple example of how little work it takes to craft a response in PHP
(which is probably already installed on your machine and therefore the
path of least resistance):
<?php header('HTTP/1.0 403 Forbidden'); ?>
If you want to make it die, fire off an infinite loop or just make it
sleep a really long time:
<?php while(true); ?>
It'll run until it hits the maximum allowed execution time.