Hello World

If I logon to the web via (say) server_a and then start this script in server_b
which has the code in its cgi-bin folder

#! /usr/bin/perl -w
#
use CGI qw(:standard);
#use strict;
#
print <<END_of_file;
Content-type: text/html

<html>
<head><title>Server Environment</title></head>
<body>
<h2>This server is:</h2><br><br>
Server Name:                                    $ENV{SERVER_NAME}
Port Number:                                    $ENV{SERVER_PORT}
Server Software:        $ENV{SERVER_SOFTWARE}
</body></html>
END_of_file

should I get to see the %ENV details of server_a?

I am getting a 500 error. Permissions are set to 711 for the script and
701 for the folder.

cheers

Jimmy George


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to