Web Servers General Talk - Server Error - Bad URL

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers General Talk > January 2004 > Server Error - Bad URL





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Server Error - Bad URL
Muthu

2004-01-19, 6:31 am

Hello,
I'm a student at Carleton and as a part of my course work I'm doing
CGI programming. So if you can help with my problem please reply me
asap.
Thanks.

After I installed the Apache server on my machine, I wrote a simple
html file with a form and called a simple script from the form.

When I run my form, I'm getting "Server Error - Bad URL"
What should I do to fix this.

--------sample.html----------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>Sample one</title>
</head>
<body>
<form action = "http://localhost/cgi-bin/test.cgi" method = post>
<input type = "text" name = "text1" maxlength = "20" > name </input>
<input type="Submit" value="Go" align="MIDDLE"><br></input>
</form>

</body>
</html>

--------test.cgi-------------
#!c:\perl\bin\perl.exe

print "Content-type:text/html\n\n";

print "Hello World\n";
-----------------------------
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com