On Tuesday, Sep 10, 2002, at 01:56 US/Eastern, Jose Malacara wrote:
> Is there an easy way to hide ,or spoof, a URL when outputting to html
> with
> perl? For example if I was running a script in my cgi-bin directory,
> but
> wanted the URL to appear differently so as to hide location of my
> cgi-directory.
>
> For example, if a visitor is looking at a page located at:
> www.mywebsite.com/cgi-bin/forms/hello.cgi, but the URL would appear as
> www.mywebsite.com/hello.cgi or just www.mywebsite.com. Can this be
> done
> perhaps by passing the browser a fake http location header or
> something?
>
> Hope that's not too confusing. Thanks in advance.
>
Nothing is too confusing for this group. . .some of these people are
incredible!
One way to do this is if you have SSI enabled is to use an <!--#exec
cgi="/cgi-bin/forms/hello.cgi"--> in the html file to execute your
script. To the user it looks like an average run-of-the-mills static
html file.
GmG
--
Obviously I was either onto something, or on something.
-- Larry Wall on the creation of Perl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]