Re: apache/mod_perl help

2002-07-30 Thread Stas Bekman
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 >

apache/mod_perl help

2002-07-30 Thread Dinesh Patel
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

Re: mod_perl help

2002-07-11 Thread Ken Miller
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. > >

RE: mod_perl help

2002-07-11 Thread Peter Werner
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

RE: mod_perl help

2002-07-11 Thread Ryan Hairyes
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

mod_perl help

2002-07-11 Thread Ryan Hairyes
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

Re: Can mod_perl help me use ENV variables in httpd.conf?

2002-05-05 Thread Jason Woodward
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

Re: Can mod_perl help me use ENV variables in httpd.conf?

2002-05-03 Thread Fran Fabrizio
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 { "$_ => $

Re: Can mod_perl help me use ENV variables in httpd.conf?

2002-05-02 Thread Ken Williams
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

Re: Can mod_perl help me use ENV variables in httpd.conf?

2002-04-30 Thread Geoffrey Young
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

Re: Can mod_perl help me use ENV variables in httpd.conf?

2002-04-30 Thread Fran Fabrizio
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

Re: Can mod_perl help me use ENV variables in httpd.conf?

2002-04-30 Thread Fran Fabrizio
Yikes, I just found an example of the exact thing I needed in the cookbook (recipe 2.16). Sorry, and thanks! -Fran

Re: Can mod_perl help me use ENV variables in httpd.conf?

2002-04-30 Thread Steven Lembark
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

Can mod_perl help me use ENV variables in httpd.conf?

2002-04-30 Thread Fran Fabrizio
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

mod_perl : HELP (am I going nuts ?)

2002-01-09 Thread Philip M. Gollucci
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

RE: mod_perl help

2001-04-24 Thread Brendan McAdams
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

mod_perl help

2001-04-24 Thread abhishek agrawal
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