CPAN module Apache::Emulator

2003-09-04 Thread Nigel Wetters
David Wheeler [EMAIL PROTECTED] 09/03/03 05:46am May I suggest that you post a note to the modperl list announcing Apache::Emulator. I think that the folks there might be interested in your work. A couple of years ago, I produced a module that emulated a few of the Apache::Request methods

Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-04 Thread e-mol Development Team
e-mol Development Team wrote: diff -u 5.6.1.txt 5.8.0.txt The two builds are quite different, I have pointed out below at least a few major differences. [EMAIL PROTECTED] src]# diff -u 5.6.1.txt 5.8.0.txt --- 5.6.1.txt 2003-09-03 14:07:02.0 -0400 +++ 5.8.0.txt 2003-09-03

Re: [mp2] executing subprocesses from mod_perl

2003-09-04 Thread Haroon Rafique
On Yesterday at 2:06pm, SB=Stas Bekman [EMAIL PROTECTED] wrote: SB SB Also you may want to use Apache::SubProcess to stress it out and see SB if there is something that we need to fix, if it's not used we might SB not be aware of existings bugs that the tests don't catch. You can SB always

[mp2] Failed to obtain the MPM name

2003-09-04 Thread Beau E. Cox
Hi - 1) Downloaded (via CVS) latest mod_perl source (9/4/2003) 2) Cannot configure: perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2/ MP_INST_APACHE2=1 Reading Makefile.PL args from @ARGV MP_AP_PREFIX = /usr/local/apache2 MP_INST_APACHE2 = 1 Configuring Apache/2.0.47

Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-04 Thread Stas Bekman
I think next I may try and see if perl 5.6.1 can be build on the 5.8.0 system and see what this leads to. I wonder if it could be the newer gcc or glibc? This is quite possible, since the sharing mostly comes from your OS, not specificly from Perl. You may also want to try the latest

Re: [mp2] Failed to obtain the MPM name

2003-09-04 Thread Stas Bekman
Beau E. Cox wrote: Hi - 1) Downloaded (via CVS) latest mod_perl source (9/4/2003) 2) Cannot configure: perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2/ MP_INST_APACHE2=1 Reading Makefile.PL args from @ARGV MP_AP_PREFIX = /usr/local/apache2 MP_INST_APACHE2 = 1 Configuring

Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-04 Thread e-mol Development Team
After some thinking time I decided to compile perl 5.8.0 on the older system that did have 5.6.1. It would seem it has nothing to do with perl 5.8.0. I compiled perl 5.8.0 on the older system and preloading worked just like it should. Now I know that it does not have anything to do with perl or

Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-04 Thread Stas Bekman
e-mol Development Team wrote: After some thinking time I decided to compile perl 5.8.0 on the older system that did have 5.6.1. It would seem it has nothing to do with perl 5.8.0. I compiled perl 5.8.0 on the older system and preloading worked just like it should. Now I know that it does not

FW: $r-headers_out Location and Set-Cookie

2003-09-04 Thread Garrett Goebel
Title: FW: $r-headers_out Location and Set-Cookie [Note: reposting, the original post appears to have dropped through the cracks] Geoffrey Young wrote: That's when you use Apache::compat, doing the mp1 syntax. In mp2-speak that would be: $r-err_headers_out-add('Set-Cookie' =

Re: FW: $r-headers_out Location and Set-Cookie

2003-09-04 Thread Geoffrey Young
Garrett Goebel wrote: [Note: reposting, the original post appears to have dropped through the cracks] not only did I get two of these already, but I also posted a reply :) --Geoff -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: SubRequest in Filter MP2 [QUESTION]

2003-09-04 Thread Craig Shelley
Hello.. Just Forwarding this to the list Having no idea as to how the internals of modperl and apache actually work, this may seem like a bit of a dumb suggestion. When doing a subrequest from within a filter, the most ideal situation would be to have access to the output from within the

RE: FW: $r-headers_out Location and Set-Cookie

2003-09-04 Thread Garrett Goebel
Title: RE: FW: $r-headers_out Location and Set-Cookie Geoffrey Young wrote: Garrett Goebel wrote: [Note: reposting, the original post appears to have dropped through the cracks] not only did I get two of these already, but I also posted a reply :) My bad. It was an old thread and I

Cookie Code

2003-09-04 Thread Tim Edwards
The code I've been using to handle cookies ate it's self when I start using ModPerl. I've set my script directory to PerlHandler Apache::PerlRun while I converts scripts. I'm sending 3 cookies. The first one goes properly. The second two get print to the screen. Same script run under normal

Can't get a mod_perl.so...

2003-09-04 Thread Rich Kosiba
I've read the documentation several times and searched the web, but can't find an answer to my problem. I can't get a mod_perl.so. I used several different configure combinations from what I had read in the documentation. What I am using right now is: perl Makefile.PL PREP_HTTPD=1 EVERYTHING=1

RE: Can't get a mod_perl.so...

2003-09-04 Thread Garrett Goebel
Title: RE: Can't get a mod_perl.so... Rich Kosiba wrote: I've read the documentation several times and searched the web, but can't find an answer to my problem. I can't get a mod_perl.so. I believe you are looking for libperl.so -- Garrett Goebel IS Development Specialist ScriptPro

Re: Can't get a mod_perl.so...

2003-09-04 Thread Geoffrey Young
I still don't have a mod_perl.so. There are no errors anywhere. I'm using mod_perl 1.28 source. I'm running Apache 1.3.26 on Linux 2.4.18 (Slackware 8). you only get a shared object file if you compile mod_perl as a DSO, which is not the default with mod_perl 1.28. to check whether mod_perl

Re: Can't get a mod_perl.so...

2003-09-04 Thread Rich Kosiba
> I've read the documentation several times and searched > the web, but can't find an answer to my problem. I > can't get a mod_perl.so. I believe you are looking for libperl.so Even so (pun intended)... I don't get a libperl.so anywhere. I was looking for any/all .so files among the source files

apache2, mod_perl: problem with CGI

2003-09-04 Thread Bart Terryn
Hi folks, Just trying to get up and running with Apache/2.0.47 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0 Server Have installed AS Perl 5.8 and the mod_perl ppm that Randy provides the world with. Running my mod_perl code using the ModPerl::Registry handler. Now everything is fine until I put the

Re: apache2, mod_perl: problem with CGI

2003-09-04 Thread Stas Bekman
[please don't reply to another thread when starting a new one. don't be surprised if your question is ignored if you do that.] Just trying to get up and running with Apache/2.0.47 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0 Server Have installed AS Perl 5.8 and the mod_perl ppm that Randy

Re: Can't get a mod_perl.so...

2003-09-04 Thread Rich Kosiba
I still don't have a mod_perl.so. There are no errors anywhere. I'm using mod_perl 1.28 source. I'm running Apache 1.3.26 on Linux 2.4.18 (Slackware 8). you only get a shared object file if you compile mod_perl as a DSO, which is not the default with mod_perl 1.28. to check whether mod_perl is

Re: Can't get a mod_perl.so...

2003-09-04 Thread Geoffrey Young
perl Makefile.PL APACHE_SRC=../apache_1.3.26_modperl/ APACHE_PREFIX=/usr/local/apache EVERYTHING=1 USE_DSO=1 USE_APACI=1 APACI_ARGS='--enable-module=rewrite, --enable-module=info, --enable-module=expires, --disable-module=userdir' DO_HTTPD=1 when I use those options, I end up with

Re: [mp2] Failed to obtain the MPM name

2003-09-04 Thread Beau E. Cox
- Original Message - From: Stas Bekman [EMAIL PROTECTED] To: Beau E. Cox [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 04, 2003 6:45 AM Subject: Re: [mp2] Failed to obtain the MPM name Beau E. Cox wrote: Hi - 1) Downloaded (via CVS) latest mod_perl source

Re: Can't get a mod_perl.so...

2003-09-04 Thread Stas Bekman
Geoffrey Young wrote: perl Makefile.PL APACHE_SRC=../apache_1.3.26_modperl/ APACHE_PREFIX=/usr/local/apache EVERYTHING=1 USE_DSO=1 USE_APACI=1 APACI_ARGS='--enable-module=rewrite, --enable-module=info, --enable-module=expires, --disable-module=userdir' DO_HTTPD=1 when I use those options, I

Re: [mp2] Failed to obtain the MPM name

2003-09-04 Thread Stas Bekman
Beau E. Cox wrote: $BASE_DIR/$SOURCE_DIR/configure \ --enable-layout=SuSE \ that's probably the problem. You can use MP_AP_PREFIX= only if you install all apache files under the same tree, which is the default layout. Otherwise you should use the MP_APXS option pointing to apxs, which will

Re: Can't get a mod_perl.so...

2003-09-04 Thread Rich Kosiba
On Thursday, September 4, 2003, at 09:23 PM, Stas Bekman wrote: perl Makefile.PL APACHE_SRC=../apache_1.3.26_modperl/ APACHE_PREFIX=/usr/local/apache EVERYTHING=1 USE_DSO=1 USE_APACI=1 APACI_ARGS='--enable-module=rewrite, --enable-module=info, --enable-module=expires, --disable-module=userdir'

[mp2] ModPerl-Registry/t/bad_scritps.t returns 403 not 500

2003-09-04 Thread Beau E. Cox
-8-- Start Bug Report 8-- 1. Problem Description: a. ModPerl-Registry/t/bad_scritps.t returns 403 not 500. b. Console log (verbose): *** setting ulimit to allow core files ulimit -c unlimited; ./TEST -verbose 'bad_scripts.t' *** root mode: changing the

cookie managerment

2003-09-04 Thread James.Q.L
hi, in mod_perl how do i detect if users choose to reject the cookie being sent to them and/or having the cookie disable in browser ? (not javascript or other client-side scripting) so that i can print a error message remind user to enable cookie. Regards, Qiang

Re: Cookie Code

2003-09-04 Thread Perrin Harkins
On Thu, 2003-09-04 at 16:56, Tim Edwards wrote: I'm sending 3 cookies. The first one goes properly. The second two get print to the screen. Same script run under normal perl works fine. Suggestions? Show us the mod_perl part of your apache config. - Perrin -- Reporting bugs: