Re: HTML form action ends up downloading perl file instead of executing it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux