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
>
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 1.99.02
ner" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: 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.
>
>
D]
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 as the sunfreeware perl is
: co
ot gcc and this causes problems. poke around
: sunfreeware.com for the instructions he used to build perl, it is quite
: simple.
:
: -pete
:
: -Original Message-
: From: Ryan Hairyes [mailto:[EMAIL PROTECTED]]
: Sent: Thursday, July 11, 2002 4:34 PM
: To: [EMAIL PROTECTED]
: Subject: mo
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 serv
You'll also need to use a PerlPassEnv directive prior to your block.
For debug purposes, try adding the following inside your 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 able
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
> block.
>
> For debug purposes, try adding the following inside your block:
>
> print join("\n", map { "$_ => $
On Wednesday, May 1, 2002, at 05:04 AM, Fran Fabrizio wrote:
>
> I spoke too soon.
>
> I need:
>
>
> push @Alias, [ qw(/cgi-bin/chimpkit/ $ENV{SERVER_ROOT}/cgi-
> bin/chimpkit/) ];
>
>
> This does not appear to be possible because there's no way to
> pass in SERVER_ROOT to the apache startu
Fran Fabrizio wrote:
>
> I spoke too soon.
>
> I need:
>
>
> push @Alias, [ qw(/cgi-bin/chimpkit/
> $ENV{SERVER_ROOT}/cgi-bin/chimpkit/) ];
>
>
> 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
I spoke too soon.
I need:
push @Alias, [ qw(/cgi-bin/chimpkit/ $ENV{SERVER_ROOT}/cgi-bin/chimpkit/) ];
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 ./apachec
Yikes, I just found an example of the exact thing I needed in the
cookbook (recipe 2.16). Sorry, and thanks!
-Fran
Yup. See the 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/
>
> SetHandler perl-script
> Perl
I am trying to make a portable mod_perl.conf. I have things like:
Alias /cgi-bin/chimpkit/ /usr/local/apache/cgi-bin/chimpkit/
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
which really needs to become something like:
Alias /cgi
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'}, "]";
print "R = [" , $r, "]";
print "Mehtod = [", $r->method, "]";
p
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_pe
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 in
17 matches
Mail list logo