Modify the conf/httpd.con file in Apache
Add to the options in
AcceptPathInfo On
Options FollowSymLinks +ExecCGI
Check that the file has
AddHandler cgi-script .cgi .pl
At the beginning of your program point where is your Perl executable are:
#!c:/program files/perl/bin/perl.exe
Just write your program and save it in .pl extension and access the file using
http://localhost/perlTest/hello.pl
No comments:
Post a Comment