[ back to toc ]

CGI - Apahe Server

Date: 2001/12/22 03:22

I am trying to write CGI's for the first time. At the moment, I type the
address and the code is returned to the browser uninterpreted. I am using
Apache Tomcat 4.0 and figure it has something to do with a setting, but
have no clue what. I found something that mentioned editing the
<location> and making sure that ExecCGI was set, but don't know where to
put that.
You actually has to place the code into a directory that is configured to
be a "cgi" directory. Otherwise it is just a text file for the browser. To
execute Perl code, you do not need Tomcat. That is for Java.

Look at the Apache httpd.conf file and search for the word cgi.


[ back to toc ]