That does indeed work, but the URL for the specific page is still displayed in the path on the browser
I'm not sure what you mean. If you put:
print "Location: /icons/left.gif\n\n";
at
/cgi/leftarrow, it'll run the script and display a left arrow, but the URL will still remain the CGI location. I thought that's what you wanted.
Actually, you may be running a non-standard web server (something other than Apache). If that's the case, you should disclose that so I stop trying to bring Apache-specific knowledge into the discussion.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.