Eric,
Thanks for the response. I have tried using a combination of +/- and non +/-, but nothing seems to work. I am beginning to believe that apache does not support perl script execution on windows as I have tried all possible options to make this work, but nothing seems to work so far. I do not know what else to do. -Pranav > Date: Tue, 19 Mar 2013 13:36:24 -0400 > From: covener@xxxxxxxxx > To: users@xxxxxxxxxxxxxxxx > Subject: Re: HTML form action ends up downloading perl file instead of executing it > > On Tue, Mar 19, 2013 at 1:04 PM, Pranav Kumar Ojha > <pranav.ojha@xxxxxxxxxxx> wrote: > > I have been trying to run a simple perl-cgi script on windows 7. This is a > > simple HTML form with an OK button where clicking on OK button displays some > > text. But clicking the OK button on the HTML page, instead of executing and > > displaying perl file's output, the browser starts downloading the script. I > > have added handler in httpd.conf > > > > AddHandler cgi-script .pl > > > > But this doesn't help. I added the ExecCGI option in the httpd.conf but that > > didn't help either. > > > > <Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin"> > > AllowOverride None > > Options ExecCGI -MultiViews +SymLinksIfOwnerMatch > > Order allow,deny > > Allow from all > > </Directory> > > May not be the issue, but don't mix +/- and non +/- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > |