Hello,
I’m wondering if it’s possible to execute CGI/Perl scripts called from an HTML form in my local PC harddisk. My PC’s running Win98.
What I have done:
1. Installed Apache v1.3 for Windows in the root directory.
2. Installed ActivePerl in the root directory.
3. Placed a form handler (Perl script with extension .cgi) in c:/Apache/cgi-bin.
4. Placed an HTML form in c:/Apache/htdocs.
5. Uncommented ‘AddHandler cgi-script .cgi’ in c:/Apache/conf/httpd.conf.
6. Modified
‘
AllowOverride None
Options None’
to
‘
AllowOverride None
Options ExecCGI’
in c:/Apache/conf/httpd.conf.
My problem:
I started the Apache server and loaded the HTML form in my browser (http://127.0.0.1/gestbook.htm). But when I click the submit button, I get the dialog box saying, “You have chosen to download a file from this location…”, instead of executing the CGI script.
How do Iget this to work?