RE: Apache not executing Perl script,but perl script is getting downloaded.

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

 



Hello frank,

        I removed Option ExecCGI and also mod_cgi is loaded.But still facing
the issue.
        I have an html file,which on submitting,calls one perl file for
execution,but instead perl file is getting downloaded with some other
content in it.
        Thanks for your help.
Thanks,
Prathima. 

-----Original Message-----
From: Francois Gingras [mailto:francois.gingras@xxxxxxxxx] 
Sent: Wednesday, October 01, 2008 5:49 PM
To: users@xxxxxxxxxxxxxxxx; pdandapa@xxxxxxxxx
Subject: Re:  Apache not executing Perl script,but perl script
is getting downloaded.

Hello,

With ScriptAlias, you don't actually need Option (+)ExecCGI. You simply need
to allow access to that directory.

Also, make sure that the mod_cgi module is loaded, and you should be good to
go.

Frank

On Wed, Oct 1, 2008 at 8:01 AM, Prathima Dandapani -X (pdandapa - HCL at
Cisco) <pdandapa@xxxxxxxxx> wrote:
> Hello All,
>
>             I have Apache 2.2.9 running.Perl script is not getting 
> executed,but it is getting downloaded.Here is the configuration done 
> for executing perl scripts.
>
>   ScriptAlias /cgi-bin/ "C:/PROGRA~1/CSCOpx/cgi-bin/"
> <Directory "C:/PROGRA~1/CSCOpx/cgi-bin/"> AllowOverride None Options 
> ExecCGI AddHandler cgi-script .pl ScriptInterpreterSource 
> Registry-Strict </Directory>
>
> Please help me to resolve the issue.
>
> Thanks and Regards,
> Prathima.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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