From: Matt Behrens <[EMAIL PROTECTED]>
Subject: Re: CGI Redirect

Hey-

If you want to do a redirect, can you just use a metatag?  Not sure that a
CGI is what you're looking for with that respect, but you can write a cgi
to do the same thing.  If you were using PERL you might do the following:

#!/bin/perl

print ("Content-type: text/html\n\n");
print "<META HTTP-EQUIV=\"Refresh\"
CONTENT=\"0;URL=http://www.hotbot.com\">\n";

Alternatively in C

#include <stdio.h>

int main()
{
   printf ("Content-type: text/html\n\n");      
   printf("<META HTTP-EQUIV=\"Refresh\"
CONTENT=\"0;URL=http://www.hotbot.com\">\n");
   return (0);
}

But I would probably just use a refresh tag:
<META HTTP-EQUIV="Refresh" CONTENT="0;URL=http://www.hotbot.com">

You could conceivably redirect to the smil file or ram file or whatever
by replacing the URL attribute with its location and it should be hidden.
In the case of writing it with CGI, you have to setup your server to run
CGI and that would meen installing Win32 PERL in the case of PERL or just
making sure you're CGI enabled in the case of C.

Laters,
Matt Behrens

**************************************************************************
* Matt Behrens             * Ideals are like stars; you will not succeed *
* Pager: (319) 833-4194    * in touching them with your hands.  But like *
* [EMAIL PROTECTED]      * the seafaring man on the desert of waters,  *
* [EMAIL PROTECTED] * you choose them as your guides, and         *
* ITS Production Services  * following them you will reach your destiny. *
* 319-273-7076             *                  --Calvin Coolidge          *
**************************************************************************

On Tue, 16 Nov 1999, RealForum wrote:

 > From: [EMAIL PROTECTED]
 > Subject: CGI Redirect
 >
 > I am looking for a way to redirect users to real realvideo clip but the
 > actual URL of rm files should be hided.
 > I find the presets in RealPlayer G2 is using that way  , every preset (if
 > you choose to edit them) is like
 > "http://presets6.real.com/presets/preset?index=13" .
 >
 > I have tried to write a CGI script to do URL redirection , but finally
 > people can get the actual URL.
 > But i use one of the preset buttons and try to "Save to Preset" and then
 > "Edit" , I found I still got
 > "http://presets6.real.com/presets/preset?index=13" , not the actual URL of
 > RM file , How can I do that ?
 >
 > I need help , Thanks a lot !!
 >
 >                  Ken
 >

*******************************************************
The RealForum is an email discussion group focused on using RealNetworks
products. The RealForum is a place to post messages about the best methods
for creating content using RealNetworks technologies and the planning and
implementation of streaming-media web sites.  Archives of RealForum can
be found at http://realforum.real.com

If you ever want to remove yourself from this mailing list,
you can send mail to <[EMAIL PROTECTED]> with the following
command in the body of your email message:

    unsubscribe realforum

or from another account, besides the address you subscribed with:

    unsubscribe realforum <[EMAIL PROTECTED]>

Reply via email to