CGI Script - Redirect

Redirect is a free CGI script which you can install onto your account via the "CGI Scripts" page in your web site's Control Panel. The script allows you to redirect users to pages on your site using HTML forms.

The Redirect script resides in your cgi-bin directory, reference the script in the action tag of your HTML form as illustrated below:

 

    <form method="post" action="/cgi-bin/redirect.pl">

This code calls the preinstalled script when the web page visitor clicks the 'Submit' button.

The one field that you need to include in your HTML form is 'page'. The content of this field should be the full URL of the page to which the user should be redirected to on submission of the form without the 'http://' prefix. This field can be any type of form field.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

CGI Scripts

Our UNIX servers have the capability to run CGI scripts written in Perl. There are a number of...

Free CGI Scripts

There are a number of CGI scripts offered free of charge which you can install automatically...

CGI Script - Counter

Counter is a free CGI script which you can install onto your account via the CGI Scripts page....

CGI Script - Mailform

Mailform is a free CGI script which you can install onto your account via the "CGI Scripts" page...

Unix SSL

Secure Socket Layer (SSL) allows a secure communication channel to be set up between the server...