in reply to Re: •Re: cgi redirect
in thread cgi redirect

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.

Replies are listed 'Best First'.
Re: •Re: Re: •Re: cgi redirect
by The_Rev (Acolyte) on Dec 02, 2002 at 14:31 UTC
    Sorry Merlyn, for the long delay in my response. I am using apache, and I do need to hide the url path displayed in the browser from the user.

    I'm a little unclear as to what you mean with :

    at /cgi/leftarrow, it'll run the script and display a left arrow, but +the URL will still remain the CGI location.
    Thanks