What is it ?
Redirect is a simple script to redirect visitor to another URL.
- Perl 4.0 or newer; you can get it at http://www.perl.com/
Download current version
- A web server, you must have access to add / execute CGI scripts.
Current version is v1.0, created 05/30/99, last modified 05/30/99.
What this archive contains ?
Download source code / scripts and documentations :
Tar/Gzip archive : Redirect.tar.gz (0 Ko)
DOS Zip format : Redirect.zip (0 Ko)
This archive comes with 4 differents files:
Installation and Configuration:
1) COPYING: Copyright informations (GPL).
2) README: This file.
3) LISEZMOI: French doc...
4) redirect.cgi: The Perl script.
It's a Perl script, so installation is pretty easy. You don't need to
How to run it ?
Copy redirect.cgi in your /cgi-bin/ directory.
Make it executable, unix only (chmod a+rx redirect.cgi)
Edit redirect.cgi, you will have to do some configuration:
Change #/usr/bin/perl, if it's necessary...
Change in "Necessary Variables Section"
Configure this if you want logs users...
$UseLog = 0; # Use Log File ? 1 = YES; 0 = NO
$LogFile = "/Absolute/path/to/log.txt";
Add in your web page :
<A HREF="/cgi-bin/redirect.cgi?http://www.hostname.dom/page/">a text</A>
URL should be began with http:// or ftp://
If you want use this script with a form
<FORM METHOD=GET ACTION="/cgi-bin/redirect.cgi">
<OPTION Selected VALUE="http://www.hostname1.dom/page/">Link1
Version 1.0 05/30/99 - Archive Created.
This software is copyright (C) 1999 Frederic TYNDIUK. It is distributed
under the terms of the GNU General Public License (GPL). Because it is licensed
free of charge, there is NO WARRANTY, it is provided AS IS. The author can not
be held liable for any damage that might arise from the use of this software.
Use it at your own risk.
See the file COPYING for more details (or http://www.gnu.org/).
Latest version and New Scripts can be found at:
Please feel free to contact me with any comments, suggestions, bug fixes
criticism, or just a happiness messages.
If you run into any problems while trying to configure these scripts
first read this file carefully, if you don't find any solution, send me a Mail.