If writing a cgi script to do this is too awkward, you can do this hack by simply installing a different web server than Netscape and modify the file type.
Apache works fine.
Then you just wait for someone with an SGI to access that file. This means you won't be able to use some of the sysadm pages on the server at port 2077, but that's no big worry. You can do everything from root anyhow, and the 2077 server is by default running with access allowed from the whole world with root access, so it's a security bug in itself. I'm thick, so it took me a while to figure out how. I'm sure someone else can do better.