Because i'm tray
Procedure for setting up Apache servers to properly execute Perl scripts.
Unlike some web server software, there is no special configurations that need to be made to Apache to make it run Perl scripts maybe like you install php manually. On both unix and Windows Apache installations, the Apache web server looks at the first line of the CGI script to find the path to the Perl interpreter to use.
On unix Apache systems, the first line in the script is typically:
#!/usr/bin/perl
On Windows Apache systems, the first line in the script is typically:
#!c:/perl/bin/perl.exe
This assumes that you have already set up Apache to run CGI scripts in the some directory, normally cgi-bin. If you're seeing the source code of the script, rather than its output, it's not a problem with the path to Perl, but it's rather because you haven't set up Apache to execute CGI scripts in the directory where you placed the script.
resource
http://support.discusware.com/center/resources/windows/perl-apache.html
Tuesday, 4 November 2008
Setting up Apache servers to execute Perl scripts
Tag
apache
Post a Comment