You will have to setup one cgi script and
.shtml page per mirrored webpage. This script isn't really meant to mirror an entire
site. It was more or less developerd tomrror specific content pages. Edit the
SSI tag inside each .shtml page to point to the appropriate .cgi script
<!--#EXEC
CGI="stealth.cgi" -->
Install the script AS IS first BEFORE you try
mirroring any other webpage. Watch the slashes and make sure you do this EXACTLY
right or it won't work. Let's explain the example of mirroring the CPAN Perl Modules
List.
The url for the actual page is http://www.perl.org/CPAN/modules/00modlist.long.html
Within the stealth.cgi script you will need
to set 3 variables based on this URLl They are best explained as follows
- $remote="www.cpan.org";
- $root = "http://www.cpan.org/";
- $url="modules/00modlist.long.html";
- $remote is simply the domain name of the host
(note that does NOT include http://)
- $root is just http://$remote/
(note the use of the trailing slash
- $url is the remaining part of the FULL url
after the domain name /(slash)