mindcooler
03-05-2004, 04:28 PM
Hello, I am trying to get my webserver to execute a cgi script (well, not really a script, it's written in C). However, I am getting the following error:
HTTP Status 404 - /cgi-bin/simple
--------------------------------------------------------------------------------
type Status report
message /cgi-bin/simple
description The requested resource (/cgi-bin/simple) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/5.0.19
My .html-file looks like this:
<HTML>
<HEAD>
<TITLE> Test simple CGI Program</TITLE>
</HEAD>
<BODY>
<H2 ALIGN=CENTER> Test simple CGI program</H2>
<p>Click below to test the simple CGI program</P>
<ul>
<a href="/cgi-bin/simple"> Simple Program</a>
</ul>
</BODY>
</HTML>
If I change /cgi-bin/simple to /cgi-bin/simple.exe I get a File Download dialog box instead. What am I doing wrong? I know next to nothing about HTML, I am usually into application developement using c or c++.
Grateful for any replies
HTTP Status 404 - /cgi-bin/simple
--------------------------------------------------------------------------------
type Status report
message /cgi-bin/simple
description The requested resource (/cgi-bin/simple) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/5.0.19
My .html-file looks like this:
<HTML>
<HEAD>
<TITLE> Test simple CGI Program</TITLE>
</HEAD>
<BODY>
<H2 ALIGN=CENTER> Test simple CGI program</H2>
<p>Click below to test the simple CGI program</P>
<ul>
<a href="/cgi-bin/simple"> Simple Program</a>
</ul>
</BODY>
</HTML>
If I change /cgi-bin/simple to /cgi-bin/simple.exe I get a File Download dialog box instead. What am I doing wrong? I know next to nothing about HTML, I am usually into application developement using c or c++.
Grateful for any replies