in reply to Perl header to serve up a .HTML file from a CGI directory
This snippet as written may not have much practical use, but it illustrates some interesting concepts. You can add some quick and dirty dynamic aspects to what appears to be a normal web page. For one thing, this technique could be used to insert cookies into an otherwise static html file. A ScriptAlias could be used to make it look like it's being served from a directory other than cgi-bin. Other possibilities can be imagined too, particularly if you want to hide how your site works - kind of a security by obscurity layer.