Web App: File not found problem

I've been trying to get a basic web app to work using Delphi 5. I can
get it to compile but after I place in on the web site and try to
access it, I get a "File not foung on this server error" (404). I have
tried the HotMetal server, MS PWS, and apache. Also I have compiled it
as both ISAPI and CGI. The behavior I see does not change. The web
servers are working (not together, obviously) as I can get a simple
homepage. The example I am using is strait off the Teixeira and
Pacheco CR-ROM. Any suggestions?