Apache Web-Serving with Mac OS X: Part 1
Subject:   Perl and
Date:   2001-12-12 09:58:55
From:   kenyatta
Response to: Perl and

Specifically for Perl? Basically how to configure it for Apache, including the popular Perl module

I found to useful tutorials for building and configuring PHP/MySQL for Apache on Mac OS X on and or (

I've noticed that some books are being release targeting web serving using the Unix underpinnings of Mac OSX.

Thanks in advance for any information

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • Perl and
    2001-12-18 07:48:47  tmana [View]

    Are you asking about mod_perl? 'Regular' Perl (including the CGI module) doesn't need to be configured for Apache. Though Apache does need to be configured to allow cgi scripts.

    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.