At 03:09 PM 07/27/2001 -0400, Rich Fernandez wrote:
>Hi,
>
>I've been asked to write a CGI script that takes a URL of the form:
> https://webserver/cgi-bin/myscript.cgi/myreport
>
>and redirects the browser to:
> https://webserver/cgi-bin/myscript.cgi/full/path/to/report/myreport
>
>In other words, we want to hide the true URL of the report from the browser.
>
>Can anyone give me an idea about how to start this? Specifically, if I have
>a script called myscript.cgi, how do I get it to recognize "myreport" as a
>parameter? It's probably easy to do, but my experience with CGI is next to
>nothing.
If you're using Apache (and you realy should if you aren't :)), you might
want to look into mod_rewrite.
Aloha,
mel
--
mel matsuoka Hawaiian Image Productions
Chief Executive Alphageek (vox)1.808.531.5474
[EMAIL PROTECTED] (fax)1.808.526.4040
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]