Moved examples to eg/
[catagits/fcgi2.git] / perl / eg / remote.pl
similarity index 85%
rename from perl/remote.PL
rename to perl/eg/remote.pl
index bcfdd7f..5326041 100644 (file)
@@ -1,11 +1,4 @@
-use Config;
-
-open OUT, ">remote.fpl";
-print OUT "#!$Config{perlpath}\n";
-print OUT while <DATA>;
-close OUT;
-chmod 0755, "remote.fpl";
-__END__
+#!/usr/bin/perl
 # An example of using a remote script with an Apache webserver.
 # Run this Perl program on "otherhost" to bind port 8888 and wait
 # for FCGI requests from the webserver.