Re: Building mod-perl 2 for cygwin

2003-02-16 Thread Stas Bekman
We can take two approaches, patch all the places in the code where perl context is set explicitly to use #ifdef MULTIPLICITY, rather than #ifdef USE_THREADS. Or we can refuse to build mod_perl if MULTIPLICITY is enabled without the threads. Of course the first solution is more favorable for u

Re: Building mod-perl 2 for cygwin

2003-02-16 Thread Stas Bekman
Steve Baldwin wrote: I've got Apache2 installed and as far as I can tell, it is functional. I'm trying to build mod-perl from source (as I couldn't find any binaries for cygwin). When I initially ran the command : perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 I got errors telling me it could

Semi-complicated question: modifying the content of a request before passing to CGI?

2003-02-16 Thread Seldo
Okay, so here's what I need to do: 1. Receive a request to a given URI, X 2. Based on that URI, change certain values with the request (e.g. change the names or values of variables posted by the user, modify the "x-www-form-urlencoded" data, whatever...) 3. Translate the UR

Re: mod perl && libapreq make test problem

2003-02-16 Thread David Wheeler
On Sunday, February 16, 2003, at 09:37 AM, Lamotte Denis wrote: i think ive successfully compile apache with mod perl and mod php. i'm working on Mac osx 10.2.4 with perl 5.8.0 Did you compile the libapreq C library before compiling Apache::libapreq? See INSTALL.MacOSX in the libapreq distrib

Re: [mp2] Free to Wrong Pool

2003-02-16 Thread Stas Bekman
Lee Goddard wrote: -BEGIN PGP SIGNED MESSAGE- Hash: MD5 Sometimes I get: [Sat Feb 15 19:14:25 2003] -e: Free to wrong pool 464d8e0 not 466f8c0 at C:/PhotoWebServer/Perl/site/lib//Commerce/PhotoWebServer/Core.pm line 4404, line 290. [Sat Feb 15 19:14:27 2003] [notice] Parent: child proce

Re: Apache::DBI and mod_perl 2

2003-02-16 Thread Stas Bekman
Chris Faust wrote: Hey Helmut, Yes, I'm sure its Apache::DBI - when I try to check for it directly via "perl -MModule::Name", I get the error.. Where is a copy paste from the command line. [chrisf@web1 chrisf]$ perl -MApache::DBI -e 0 Can't locate Apache/Constants.pm in @INC (@INC contains: /us

[MP2] Apache::Reload date bug

2003-02-16 Thread Ron Savage
Folks I don't know if this an Apache problem, or a mod_perl problem. Apache::Reload outputs a UTC date rather than a local date, when it encounters an error. Here's an excerpt from my log. Notice how the dates go Sun, Mon, ..., Sun. [Sun Feb 16 18:31:25 2003] [error] [client 127.0.0.1] Execution

modperl on AIX - $LIBPATH problem

2003-02-16 Thread Alistair Mcdonald
Hi there. I'm working on an install on AIX. Apache, perl and mod_perl are all build with gcc 2.95 (I think). I have a script, which I'm currently trying to run under Apache::PerlRun, but it fails to load a library. The error in error_log is - apache error_log [Fri F

Trouble with section in .htaccess

2003-02-16 Thread Mustafa Arif
Hi, I am using the following in my .htaccess file: my $r = Apache->request(); $RewriteBase = $r->uri(); The reason for doing this is that Apache mod_rewrite requests RewriteBase to be set to the logical path of the directory. (This code snippet is just a test... I intend to man

mod perl && libapreq make test problem

2003-02-16 Thread Lamotte Denis
make test t/httpd -f `pwd`/t/httpd.conf dyld: t/httpd Undefined symbols: _ap_null_cleanup _ap_pcalloc _ap_register_cleanup _ap_table_add _ap_table_get _ap_table_set _ap_table_unset _hvrv2table _mod_perl_tie_table _perl_request_rec _sv2request_rec _ap_day_snames _ap_month_snames _ap_null_cleanup mak

Re: problems upgrading mod_perl

2003-02-16 Thread Robert Krueger
you're right. lousy posting of mine ;-). luckily I've managed to solve the problem by just trying to to it step by step again with freshly unpacked archives to document each step to respond to your posting with a little more detailed info. I must have messed it up the first time somehow. thank

Re: problems upgrading mod_perl

2003-02-16 Thread Ged Haywood
Hi there, On Sun, 16 Feb 2003, Robert Krueger wrote: > I'm currently upgrading an old installation (mod_perl 1.25, perl 5.005, apache > 1.3.12 -> mod_perl 1.27, perl 5.8.0, apache 1.3.27) and [snip] > Can't locate loadable object for module Apache::Log [snip] > letting apache warm up...\c > Synt

problems upgrading mod_perl

2003-02-16 Thread Robert Krueger
Hi, I'm currently upgrading an old installation (mod_perl 1.25, perl 5.005, apache 1.3.12 -> mod_perl 1.27, perl 5.8.0, apache 1.3.27) and encounter strange problems. when starting apache I get: Can't locate loadable object for module Apache::Log Now this usually indicates I forgot to specif