Apache on Windows Example

Using a default "typical" installation of Apache 2.0 under Windows XP, we were able to implement the example form and CGI script described in the previous topics with only the following changes:

• Add "ExecCGI" to the Options line in httpd.conf:

Options Indexes FollowSymLinks ExecCGI

• Add ".bat" to the name of the script in the FORM ACTION line of the form:

<FORM ACTION="/cgi-bin/cgitst.bat" METHOD="POST">

• My cgitst.bat script was placed in the cgi-bin directory of Apache, and contained the following (all on one line):

@c:\vm\miame\vc49\release\ashw32.exe -cgi -z -e -i c:\vm\miame\miame.ini tstcgi