At 5:38 pm -0700 2/7/01, Benjamin John Turner wrote:

>>My requirements are simple: start form zero on the latest OS X (10.0.4 right
>>now), download the latest stable versions of perl (5.6.1), apache (1.3.20),
>>and mod_perl (1.25), and compile and statically link a mod_perl httpd
>>binary.
>
>I'm not using the latest versions, but I've successfully built 
>apache 1.3.14 with mod_perl 1.25 statically linked. Also, I'm still 
>using the version of perl that came with MacOS X, 5.6.0. Here's how 
>I built that configuration:

<snip>

it works! if you only knew how long i've been banging my head against 
that. I even started trying to patch libtool, which was about the 
worst idea i've ever had.

so I can testify that your routine works with os x client 10.0.4, 
apache 1.3.20, mod_perl 1.25 and perl 5.6.0, too.

in case it's useful to anyone else, here are the directives i had to 
add to httpd.conf to finish it off, or at least get it working in a 
basic way:

# mod_perl configuration

Alias /perl/ /Library/WebServer/CGI-Executables/
PerlModule Apache::Registry
<Location /perl>
   SetHandler perl-script
   PerlHandler Apache::Registry
   Options ExecCGI
   allow from all
   PerlSendHeader On
</Location>

I just tacked this on at the end of the document types section to see 
if it was working, but i expect it would be better to do something 
neater.

With this setup you can get at the same script as /cgi-bin/script.pl 
or /perl/script.pl depending the environment in which you want it to 
run.

Thank you very much.

will

ps. now for Mason...





-- 











pgpkey: http://www.spanner.org/keys/will.txt

Reply via email to