I'm trying upgrade my mod_perl version from 1.27 to 1.99.02 for
apache-2.0.39.
version 1.27 of mod_perl was compiled using :
CC=cc OPTIM=-O $INET_TOP/bin/$OPSYS/perl Makefile.PL \
DO_HTTPD=1 PERL_AUTHEN=1 PERL_SECTIONS=1
make
The question is how do I compile
Dinesh Patel wrote:
I'm trying upgrade my mod_perl version from 1.27 to 1.99.02 for
apache-2.0.39.
version 1.27 of mod_perl was compiled using :
CC=cc OPTIM=-O $INET_TOP/bin/$OPSYS/perl Makefile.PL \
DO_HTTPD=1 PERL_AUTHEN=1 PERL_SECTIONS=1
make
The
Hello all,
I just compiled mod_perl 1.27 with apache 1.3 for Solaris 8. I used perl
5.6.1 and gcc from www.sunfreeware.com. After I compiled everything and tried
to load the perl module (with LoadModule) I receive the following error:
Cannot load /usr/local/apache/libexec/libperl.so into
: mod_perl help
Thanks for the reply. Actually ... according to sunfreeware perl5.6.1 was
compiled with gcc. Anything else you can think of?
Thanks again.
Quoting Peter Werner [EMAIL PROTECTED]:
: you will have to compile perl from scratch as the sunfreeware perl is
: compiled with suns
: Thursday, July 11, 2002 9:45 AM
Subject: RE: mod_perl help
Thanks for the reply. Actually ... according to sunfreeware perl5.6.1 was
compiled with gcc. Anything else you can think of?
Thanks again.
Quoting Peter Werner [EMAIL PROTECTED]:
: you will have to compile perl from scratch
You'll also need to use a PerlPassEnv directive prior to your Perl block.
For debug purposes, try adding the following inside your Perl block:
print join(\n, map { $_ = $ENV{$_} } (keys %ENV)), \n;
OR, my personal quick-debugging catch-all:
use Data::Dumper;
print Dumper \%ENV;
You'll be
What I was really looking for was $r-server_root_relative. =) Thanks
Geoff!
That's to all for your help.
-Fran
You'll also need to use a PerlPassEnv directive prior to your Perl
block.
For debug purposes, try adding the following inside your Perl block:
print join(\n, map { $_ =
On Wednesday, May 1, 2002, at 05:04 AM, Fran Fabrizio wrote:
I spoke too soon.
I need:
Perl
push Alias, [ qw(/cgi-bin/chimpkit/ $ENV{SERVER_ROOT}/cgi-
bin/chimpkit/) ];
/Perl
This does not appear to be possible because there's no way to
pass in SERVER_ROOT to the apache startup.
I am trying to make a portable mod_perl.conf. I have things like:
Alias /cgi-bin/chimpkit/ /usr/local/apache/cgi-bin/chimpkit/
Location /cgi-bin/chimpkit/
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
/Location
which really needs
Yup. See the perl directive. Good description of how it works in
the Eagle Book.
-- Fran Fabrizio [EMAIL PROTECTED]
I am trying to make a portable mod_perl.conf. I have things like:
Alias /cgi-bin/chimpkit/ /usr/local/apache/cgi-bin/chimpkit/
Location /cgi-bin/chimpkit/
SetHandler
Yikes, I just found an example of the exact thing I needed in the
cookbook (recipe 2.16). Sorry, and thanks!
-Fran
I spoke too soon.
I need:
Perl
push Alias, [ qw(/cgi-bin/chimpkit/ $ENV{SERVER_ROOT}/cgi-bin/chimpkit/) ];
/Perl
This does not appear to be possible because there's no way to pass in SERVER_ROOT to
the apache startup. I have SERVER_ROOT
getting set in root's .bashrc, but when I execute
Fran Fabrizio wrote:
I spoke too soon.
I need:
Perl
push Alias, [ qw(/cgi-bin/chimpkit/
$ENV{SERVER_ROOT}/cgi-bin/chimpkit/) ];
/Perl
This does not appear to be possible because there's no way to pass in
SERVER_ROOT to the apache startup. I have SERVER_ROOT getting set in
The following short test script :
#!/usr/local/bin/perl
use strict;
use Apache;
my $r = shift;
my %params = $r-method eq 'POST' ? $r-content : $r-args;
$r-send_http_header('text/html');
print Name = [, $params{'Name'}, ]br /;
print R = [ , $r, ]br /;
print Mehtod = [, $r-method, ]br /;
print
Hi,
I have been trying to run perl scripts on apache using mod_perl. I initially had
perl5.6.0 which came with the Redhat. I then configured my apache and got simple per
scripts running. Then i realised that most of the perl scripts which will eventually
run on my machine are wirtten
I'm not sure if mod_perl will work with activeperl
-Original Message-
From: abhishek agrawal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 24, 2001 11:50
To: [EMAIL PROTECTED]
Subject: mod_perl help
Hi,
I have been trying to run perl scripts on apache using mod_perl. I
16 matches
Mail list logo