perl cgi script in appache server

how to implement cgi script (written in perl) in appache server in linux??
do i've to configure appache server for it??
sundippAsked:
Who is Participating?
 
kawinConnect With a Mentor Commented:
You have two solution,
1) You put your perl script file in your 'cgi-bin' direcoty and then use it. (http://www.yourserver.com/cgi-bin/yourcgi.pl)

Don't forget to put this header '#!/usr/bin/perl ' at first line of your perl script and set permission to executeable (chmod 755)

2) Using mod_perl, you can get more detail from http://perl.apache.org/

Check this website too.
http://www.cgi-resources.com/
It have more resource and tutorial.
0
All Courses

From novice to tech pro — start learning today.