HTML Page:
<html>
<title>Testbed Usage</title>
<form action="env.cgi" method=post>
<input type="button" value="ADD" name="B3"></input>
<body>
env.cgi:
use strict;
use CGI qw(:standard);
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
print header;
print start_html("Environment");
print "test\n";
print end_html;
On clicking the ADD button, the above mentioned cgi code is displayed.
Could you please help in this regard?
If this is not the case then please provide more details of your problem, error code etc.
It is possible to test your scripts out before uploading to a web server.
You will need a local web server running on your pc (IIS is included with Windows 2000)
And you will also need perl installed, for windows use ActivePerl from Active State.
Also cgi scripts can (usually) only be run from one directory on your server, usuall cgi-bin
Thanks..
The page cannot be displayed
The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.
--------------------------------------------------------------------------------
Please try the following:
Contact the Web site administrator if you believe that this request should be allowed.
Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
HTTP Error 405 - The HTTP verb used to access this page is not allowed.
Internet Information Services (IIS)
--------------------------------------------------------------------------------
Technical Information (for support personnel)
Go to Microsoft Product Support Services and perform a title search for the words HTTP and 405.
Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Setting Application Mappings, Securing Your Site with Web Site Permissions, and About Custom Error Messages.