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

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 The

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

RE: mod_perl help

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

Re: mod_perl help

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

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 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

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 Perl block. For debug purposes, try adding the following inside your Perl 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: 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.

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/ Location /cgi-bin/chimpkit/ SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader On /Location which really needs

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

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

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 Fran Fabrizio
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

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: 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

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'}, ]br /; print R = [ , $r, ]br /; print Mehtod = [, $r-method, ]br /; print

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

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_perl. I