This is very helpful,
additionally,
which version of mod_perl?
Apache?
Perl?
I assume by "default" you mean mod_perl 1.25
and Apache 1.3.19 which came in the websharing update
Perl 5.6.0
for some other complicated reasons I have perl 5.6.1
and apache 1.3.20
however mod_perl fails a. to compile into apache
b. to load as a dynamic module due to some symbol
errors.
I have mod_jk
and php successfully working.
adding mod_perl mucks things up and httpd won't start.
On Wednesday, September 26, 2001, at 12:02 AM, Ed Silva wrote:
> It's installed by default but needs to be set up.
>
> I have this in my httpd.conf:
>
> <IfModule mod_perl.c>
> PerlRequire /etc/httpd/startup.pl
> PerlFreshRestart On
> PerlTaintCheck On
>
> Alias /perl/ /Library/WebServer/Perl/
> <Location /perl>
> SetHandler perl-script
> PerlHandler Apache::Registry
> PerlSendHeader On
> Options +ExecCGI
> </Location>
>
> # allow arbitrary *.perl files to be scattered throughout the
> site.
> <Files *.perl>
> SetHandler perl-script
> PerlHandler Apache::Registry
> PerlSendHeader Off
> Options +ExecCGI
> </Files>
>
> <Location /perl-status>
> SetHandler perl-script
> PerlHandler Apache::Status
> order deny,allow
> deny from all
> Allow from .septicus.com 192.168 127.0.0
> </Location>
>
> </IfModule>
>
> with startup.pl like this:
>
> #!/usr/bin/perl -wT
> use strict;
>
> # Extend @INC if needed
> #use lib qw(/dir/foo /dir/bar);
>
> # Make sure we are in a sane environment.
> $ENV{MOD_PERL} or die "not running under mod_perl!";
>
> # For things in the "/perl" URL
> use Apache::Registry;
>
> # Load Perl modules of your choice here
> # This code is interpreted *once* when the server starts
> use LWP::UserAgent ();
> use Apache::DBI ();
> use DBI ();
>
> # Tell me more about warnings
> use Carp ();
> $SIG{__WARN__} = \&Carp::cluck;
>
> # Load CGI.pm and call its compile() method to precompile
> # (but not to import) its autoloaded methods.
> use CGI ();
> CGI->compile(':all');
>
> 1;
>
> On Tuesday, September 25, 2001, at 07:44 AM, Steve Torrence wrote:
>
>> Has anyone here got mod_perl installed on OS X or OS X Server ?
>>
>> Steve
>>
>>
> Cheers,
>
> --Ed
>
---------------------------------------------------------------------------
reply directly to:
mailto:[EMAIL PROTECTED]
iMedia, Ltd.
Tokyo
---------------------------------------------------------------------------