| Article: |
Apache Web-Serving with Mac OS X: Part 1 | |
| Subject: | Perl and CGI.pm | |
| Date: | 2001-12-12 09:58:55 | |
| From: | kenyatta | |
|
Response to: Perl and CGI.pm
|
||
|
Specifically for Perl? Basically how to configure it for Apache, including the popular Perl module CGI.pm.
|
||
Showing messages 1 through 1 of 1.
-
Perl and CGI.pm
2001-12-18 07:48:47 tmana [View]



I don't remember the specifics off the top of my head but basically there's a SetHandler line in the Apache conf file (which I believe comes commented out...) to the effect of:
SetHandler cgi-script cgi
where 'cgi-script' tells Apache to handle anything with an extension of 'cgi' (and you can add other extensions such as 'pl') as a cgi program.
There's a couple Apache configuration books out there - including O'Reilly's - that will explain it better than me.