Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

•Re: Re: •Re: cgi redirect

by merlyn (Sage)
on Nov 27, 2002 at 00:51 UTC ( [id://215987]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://215987]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2025-06-18 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.