Nice one! Is that Apache (or similar) specific?
I.e. Might some web servers report a 404 error because the script doesn't technically exist at that location?
For those that haven't looked at
this column of
Merlyn's, he does a post to /path_to_cgi/scriptname.pl/desired_filename.ext
For anyone else reading this, I recommend looking at
Merlyn's site because there are a lot of useful ideas and snippets of code that one can use quite often.