Re: mod_perl.c:61: `my_perl' undeclared under Cygwin

2005-04-06 Thread Randy Kobes
On Wed, 6 Apr 2005, Nick *** wrote: > > >On Wed, 6 Apr 2005, Nick *** wrote: > > > >> Something went wrong after the big merge. I did a fresh > >> checkout and it seems like half of the patches are there > >> but the other half aren't. For example, the patches for > >> src/modules/perl/modpe

General mod_perl httpd configuration question

2005-04-06 Thread Simon Matthews
Title: General mod_perl httpd configuration question I have a number of applications built around mod_perl 1.0 and I am considering porting these over to 2.0. One of the questions that has come up here recently is can mod_perl modify the httpd configuration dynamically after server startup.

Re: mod_perl.c:61: `my_perl' undeclared under Cygwin

2005-04-06 Thread Nick ***
>On Wed, 6 Apr 2005, Nick *** wrote: > >> Something went wrong after the big merge. I did a fresh >> checkout and it seems like half of the patches are there >> but the other half aren't. For example, the patches for >> src/modules/perl/modperl_common_util.h and >> xs/APR/Base64/APR__Base64

Re: Problem installing mod_perl (because of CGI?)

2005-04-06 Thread Geoffrey Young
> I've just copied the result of the command from the screen, but the full > path is: > /home/teddy/t/conf/httpd.conf > > I've checked that line (861) and I have seen just a common SetEnv, so > mod_env might be missing. ok, but whether mod_env is present or not isn't the point - that file is bei

Re: Problem installing mod_perl (because of CGI?)

2005-04-06 Thread Octavian Rasnita
Well, this is my problem. I was not the person that has installed that server. I just want to add mod_perl to it. But checking with httpd -l I have seen that mod_env and mod_setenv are compiled in modules... Thanks. T Teddy - Original Message - From: "Philip M. Gollucci" <[EMAIL PROTE

Re: Problem installing mod_perl (because of CGI?)

2005-04-06 Thread Philip M. Gollucci
Can I include somehow mod_env in the web server in order to be able to install mod_perl? Can you paste your httpd2's ./configure line? To not include mod_env you have to explicity turn it off. DON'T! :) by --disable-env make sure you pass --enable-so If your building mod_perl as a DSO. I h

Re: Problem installing mod_perl (because of CGI?)

2005-04-06 Thread Octavian Rasnita
Yes I am using Perl 5.8.6. Thanks. Teddy - Original Message - From: "Philip M. Gollucci" <[EMAIL PROTECTED]> To: Cc: "Octavian Rasnita" <[EMAIL PROTECTED]> Sent: miercuri, 06 aprilie 2005 20:56 PM Subject: Re: Problem installing mod_perl (because of CGI?) >>Well, the error "Invalid

Re: Problem installing mod_perl (because of CGI?)

2005-04-06 Thread Octavian Rasnita
From: "Geoffrey Young" <[EMAIL PROTECTED]> > /usr/local/site/bin/httpd -d /home/teddy/mod_perl/mod_perl-2.0.0-RC4/t -f > /home > onf -D APACHE2 -D PERL_USEITHREADS > using Apache/2.0.53 (prefork MPM) > waiting 120 seconds for server to start: .Syntax error on line 861 of > /home/tedd > Invalid com

Re: Problem installing mod_perl (because of CGI?)

2005-04-06 Thread Philip M. Gollucci
Well, the error "Invalid command 'SetEnv', perhaps mis-spelled or defined by a module not included" makes me think that the problem is that Apache doesn't have the module CGI installed. To answer this specific questions... Its not really even an issue as CGI.pm is in the core since at least 5

Alias is not being recognized undet the Directory Directive

2005-04-06 Thread raja agireddy
I have installed modperl 2.0, Apache 2.0 and AuthenSmb. Alias is not being recognized under the "Directory" directive in the httpd.conf file. The same alis works for "Location" directive. The work around I am using is giving the full path of the directory and it works. Please let me know if you ha

Re: Problem installing mod_perl (because of CGI?)

2005-04-06 Thread Geoffrey Young
> /usr/local/site/bin/httpd -d /home/teddy/mod_perl/mod_perl-2.0.0-RC4/t -f > /home > onf -D APACHE2 -D PERL_USEITHREADS > using Apache/2.0.53 (prefork MPM) > waiting 120 seconds for server to start: .Syntax error on line 861 of > /home/tedd > Invalid command 'SetEnv' um... what's in /home/tedd

Problem installing mod_perl (because of CGI?)

2005-04-06 Thread Octavian Rasnita
Hi, Here is the error I get after "make test" phase of mod_perl installation: [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/local/bin/perl /home/teddy/mod_perl/mod_perl-2.0.0-RC4 APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= APACHE /usr/local/b

Installing mod_perl for 2 servers on the same computer

2005-04-06 Thread Octavian Rasnita
Hi all, Is it possible to install mod_perl for 2 Apache servers running on the same computer using CPAN? Or it is necessary to get the tar ball, and compile it manually? If I try to do: # cpan # cpan> install mod_perl It tells me that mod_perl is up to date. Thanks. Teddy

Re: AW: AW: APR::BucketType bucket types?

2005-04-06 Thread Stas Bekman
Stas Bekman wrote: Argh! that Aw/Re exchange completely breaks the thread :( Dintelmann, Peter wrote: [snip] ok; I didn't think about that... So what is the most efficient way to determine the "standard" bucket types like EOS/EOC/FLUSH? with is_foo methods: http://perl.apache.or

mp2: print to STDERR on Win32?

2005-04-06 Thread Scott Scecina
I'm having trouble getting STDERR output to show up in the apache error_log. This is supposed to work automagically, right? Using $r->log_error() works fine, but sometimes it is really inconvenient when debugging modules that aren't mp aware. Is there a module I need to use or a method I need t

Re: AW: AW: APR::BucketType bucket types?

2005-04-06 Thread Stas Bekman
Argh! that Aw/Re exchange completely breaks the thread :( Dintelmann, Peter wrote: [snip] ok; I didn't think about that... So what is the most efficient way to determine the "standard" bucket types like EOS/EOC/FLUSH? with is_foo methods: http://perl.apache.org/docs/2.0/api/APR/Bucket

Re: mod_perl.c:61: `my_perl' undeclared under Cygwin

2005-04-06 Thread Randy Kobes
On Wed, 6 Apr 2005, Nick *** wrote: > Something went wrong after the big merge. I did a fresh > checkout and it seems like half of the patches are there > but the other half aren't. For example, the patches for > src/modules/perl/modperl_common_util.h and > xs/APR/Base64/APR__Base64.h are fine, bu

Re: AW: setting request_time (prot. handler)

2005-04-06 Thread Stas Bekman
Dintelmann, Peter wrote: -Ursprüngliche Nachricht- Von: Stas Bekman [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 5. April 2005 17:58 An: Dintelmann, Peter Cc: 'modperl@perl.apache.org' Betreff: Re: setting request_time (prot. handler) Dintelmann, Peter wrote: The log phase can be invoked i

Re: mod_perl.c:61: `my_perl' undeclared under Cygwin

2005-04-06 Thread Stas Bekman
Nick *** wrote: >Nick *** wrote: >> > >> >We can do that. But it should be done in one place and not repeated in all >> >files. So could you apply this patch: >> > >> >[...] >> >and then s/static/MP_STATIC/ in all the places you have a problem with and >> >resubmit a new patch? >>

Re: mod_perl.c:61: `my_perl' undeclared under Cygwin

2005-04-06 Thread Nick ***
>Nick *** wrote: >> > >> >We can do that. But it should be done in one place and not repeated in >> all >> >files. So could you apply this patch: >> > >> >[...] >> >and then s/static/MP_STATIC/ in all the places you have a problem with >> and >> >resubmit a new patch? >> > >

Re: Apache::PerlRun flooding error log

2005-04-06 Thread David J Radunz
I found a way to stop the errors/warnings within PerlRun - but your right, were going to spend the time removing SIG completely and implement a PerlTransHandler on the development server to turn it on always (saves 'accidently' leaving it in the code). Thanks man, David On Wed, 2005-04-06 at 01:

AW: setting request_time (prot. handler)

2005-04-06 Thread Dintelmann, Peter
> -Ursprüngliche Nachricht- > Von: Stas Bekman [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 5. April 2005 17:58 > An: Dintelmann, Peter > Cc: 'modperl@perl.apache.org' > Betreff: Re: setting request_time (prot. handler) > > > Dintelmann, Peter wrote: > > The log phase can be invoked i

AW: AW: APR::BucketType bucket types?

2005-04-06 Thread Dintelmann, Peter
[snip] > > ok; I didn't think about that... > > So what is the most efficient way to determine the > > "standard" bucket types like EOS/EOC/FLUSH? > > with is_foo methods: > http://perl.apache.org/docs/2.0/api/APR/Bucket.html > though at the moment we expose just two of them