Results 1 to 1 of 1
Related
-
perl not executing from PHP Forum: CGI Perl Forum
Replies: 1 -
unable to run perl script on Linux / XP browser, instead asking me to save or open it Forum: CGI Perl Forum
Replies: 3 -
problem while executing cgi script Forum: CGI Perl Forum
Replies: 9 -
Executing the PERL CGI Script Forum: CGI Perl Forum
Replies: 1 -
cgi script/perl problem Forum: CGI Perl Forum
Replies: 4
-
06-18-2008, 06:49 AM #1
problem while executing perl script through browser
I am trying to access perl files from browser, I mean I need to execute perl files from web bowser.
In the httpd.conf file I have put like the following,
<Directory /export/home/wasadmin/bpp_cfa/rel/cgi-bin>
AllowOverride All
Options +ExecCGI
</Directory>
& also in some other place
<Directory "/export/home/wasadmin/bpp_cfa/rel/cgi-bin">
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
</Directory>
In this "/export/home/wasadmin/bpp_cfa/rel/cgi-bin" directory all the perl files are there which I need to execute in browser, means when the perl files will be executed some outputs should come in the browser.
But when I am trying to access the perl files it is not executing only the code is coming in the browser,like following,
######################################################################
use CGI;
require "cfaCommon.pl";
require "globVar.pl";
&cfaInitGlobal();
$query = new CGI;
.................
....................
Can anyone help me out, how the perl file itself will be executed in the browser???
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum