Re: Apache modules and mod_perl threads in same process?

2003-06-06 Thread Stas Bekman
Marc M. Adkins wrote: For Apache 2.0.46 / mod_perl 1.99.10-dev: If I have an Apache module configured in httpd.conf, will the module code be executing in the same process as the mod_perl code? If there are multiple Apache processes (on W2K I always see 2) will the module code exist in all process

Apache modules and mod_perl threads in same process?

2003-06-06 Thread Marc M. Adkins
For Apache 2.0.46 / mod_perl 1.99.10-dev: If I have an Apache module configured in httpd.conf, will the module code be executing in the same process as the mod_perl code? If there are multiple Apache processes (on W2K I always see 2) will the module code exist in all processes? mma

Re: Trouble with Apache::Request

2003-06-06 Thread Stas Bekman
[ CC'ing the apreq-dev list. In the future please post apreq build problems questions to the apreq-dev list: http://httpd.apache.org/apreq/ ] K Old, please try the httpd-apreq cvs version: I just did: % cd httpd-apreq % perl-5.8.0-ithread Makefile.PL -httpd /home/httpd/httpd_perl/bin/httpd &&

Re: [mp2] Newbie: How to get CGI params using mp2?

2003-06-06 Thread Stas Bekman
Jack Nerad wrote: How the heck do you get the parameters from a request? I don't see any methods that look right. I'd expect them to be on Apache::RequestRec, but I can't see anything that is close to matching my idea of what it should be named. Help? http://perl.apache.org/docs/2.0/user/port

Re: Truncated POST at 8192 bytes

2003-06-06 Thread Stas Bekman
Mick Szucs wrote: So, does this mean that everyone who's got Redhat 9 has a screwy mod_perl? That means that everyone who's got Redhat 9 has got an old development mod_perl version with this particular bug that has been fixed since then. __

Re: DirectoryIndex doesn't see SetHandler path

2003-06-06 Thread Stas Bekman
Marc M. Adkins wrote: I hope that this is the issue. Marc has failed to say that he is using mp2/apache2, so I won't be surprised if this is yet another problem introduced by apache-2.0 (incompatible mod_dir behavior wrt apache-1.3). see my recent bug reports to the httpd-dev list. Yah, yah, sorr

Re: [mp2] make test fails with 1.99_10-dev sources on redhat

2003-06-06 Thread Stas Bekman
Haroon Rafique wrote: On Today at 11:32am, SB=>Stas Bekman <[EMAIL PROTECTED]> wrote: SB> SB> Both failed due to the missing LWP. I was able to reproduce the exact SB> problem by removing LWP/UserAgent.pm. I have now fixed both in cvs. SB> Please 'cvs up' and test again. Thanks. SB> after cvs u

Re: [mp2] make test fails with 1.99_10-dev sources on redhat

2003-06-06 Thread Haroon Rafique
On Today at 11:32am, SB=>Stas Bekman <[EMAIL PROTECTED]> wrote: SB> SB> Both failed due to the missing LWP. I was able to reproduce the exact SB> problem by removing LWP/UserAgent.pm. I have now fixed both in cvs. SB> Please 'cvs up' and test again. Thanks. SB> after cvs up, "make test" skipped

RE: Trouble with Apache::Request

2003-06-06 Thread K Old
Hi Ged, On Fri, 2003-06-06 at 13:55, Ged Haywood wrote: > Hi there, > > On 6 Jun 2003, K Old wrote: > > > No, I didn't build a threaded Perl, it seems to be the popular thing > > among any linux distro these days to build it with threads. > > > > I'll build a version without threads just to s

[mp2] Newbie: How to get CGI params using mp2?

2003-06-06 Thread Jack Nerad
How the heck do you get the parameters from a request? I don't see any methods that look right. I'd expect them to be on Apache::RequestRec, but I can't see anything that is close to matching my idea of what it should be named. Help? -- Jack Nerad

[OT] Re: pl extension

2003-06-06 Thread Thomas Klausner
Hi! On Thu, Jun 05, 2003 at 11:00:37AM +0200, [EMAIL PROTECTED] wrote: > I'm running redhat 9 and trying to execute a perl script through a web > browser > > http://host/file.pl > > and the file displays as text, how do i get my apache to recognize this > extension? This doesn't seems like

pl extension

2003-06-06 Thread pwallett
Hi I'm running redhat 9 and trying to execute a perl script through a web browser http://host/file.pl and the file displays as text, how do i get my apache to recognize this extension? thanks Paul

Re: Truncated POST at 8192 bytes

2003-06-06 Thread Perrin Harkins
On Fri, 2003-06-06 at 14:47, Mick Szucs wrote: > So, does this mean that everyone who's got Redhat 9 has a screwy > mod_perl? Yes. The version of mod_perl 2 in Red Hat 9 is a pretty old version of a project that is still essentially in beta. If you want a stable platform that doesn't require you

Re: Truncated POST at 8192 bytes

2003-06-06 Thread Mick Szucs
On Thu, 2003-06-05 at 20:44, Stas Bekman wrote: > Mick Szucs wrote: > > Hi All, > > > > Looks like mod_perl is discarding everything past the first 8192 bytes > > from POST requests. > > > > mod_perl 1.99 > > Perl 5.8.0 > > Apache 2.0.40 > > > > All latest RPMs for Redhat 9. > > The latest vers

Re: How tell what version of mod_perl is installed?

2003-06-06 Thread Dennis G. Allard
On Thu, 2003-06-05 at 14:13, Ged Haywood wrote: > ... > If the question to which you refer is the one in the subject line, > then one answer is look in the error log. Apache tells you when it > starts. It's generally about the first thing it says. Your error log > is defined in your Apache confi

Re: [mp2] make test fails with 1.99_10-dev sources

2003-06-06 Thread Stas Bekman
Haroon Rafique wrote: Experience with 1.99_10-dev (up to date with CVS till yesterday): = The first batch of tests passes 100%, so the filter/in_bbs_msg.t from 1.99_09 is fixed. However, ModPerl-Registry tests fail with: Failed Test

Re: [mp2] make test fails on redhat 8.0 with 1.99_09 and 1.99_10-devsources

2003-06-06 Thread Stas Bekman
Haroon Rafique wrote: On Yesterday at 11:17am, SB=>Stas Bekman <[EMAIL PROTECTED]> wrote: SB> Is it possible that you have an old install and it gets loaded SB> instead? Can you try nuking any preinstalled mod_perl libs? SB> Hi Stas, This will be a long email (I think you're probably used to lo

Re: Trouble with Apache::Request

2003-06-06 Thread Randy Kobes
On Fri, 6 Jun 2003, K Old wrote: > Hello everyone, > > I'm having trouble getting Apache::Request installed on my > Mandrake 9.0 system. Let me first say that I'm not using the > Apache that came with Mandrake 9.0. I downloaded Apache > 1.3.27, mod_perl 1.27 and PHP 4.3.1 sources and compiled an

RE: Trouble with Apache::Request

2003-06-06 Thread Ged Haywood
Hi there, On 6 Jun 2003, K Old wrote: > No, I didn't build a threaded Perl, it seems to be the popular thing > among any linux distro these days to build it with threads. > > I'll build a version without threads just to see if it works Want to run that by me again?? > > I'm having trouble ge

Re: Truncated POST at 8192 bytes

2003-06-06 Thread Stas Bekman
Mick Szucs wrote: Hi All, Looks like mod_perl is discarding everything past the first 8192 bytes from POST requests. mod_perl 1.99 Perl 5.8.0 Apache 2.0.40 All latest RPMs for Redhat 9. The latest version that we carry (1.99_09) has this problem fixed: http://perl.apache.org/download/index.html If

Re: Perl Run and Load Average

2003-06-06 Thread Stas Bekman
Batara Kesuma wrote: > I will try to move all standard modules to startup.pl. Do I need to delete > the standard modules from the scripts after I moved them to startup.pl? I > mean, after I moved: > use MyModule; > > to startup.pl, do I need to delete it from the scripts? Or Perl Run will > automat

RE: Trouble with Apache::Request

2003-06-06 Thread K Old
Kitch, No, I didn't build a threaded Perl, it seems to be the popular thing among any linux distro these days to build it with threads. I'll build a version without threads just to see if it works, as I'm out of things to try. Thanks, Kevin On Fri, 2003-06-06 at 12:39, Kitch, David wrote: > D

Re: mod_perl2 rpm for Redhat 8

2003-06-06 Thread Stas Bekman
[moving the thread to the appropriate list and adjusting the subject] Thomas Klausner wrote: Hi! On Don, Jun 05, 2003 at 02:53:52 +0400, Egor Korablev wrote: This list is for discussing mod_perl documentation issus. For general mod_perl Problem, use the mod_perl users list: http://perl.apache.or

RE: Trouble with Apache::Request

2003-06-06 Thread Kitch, David
Did you do a threaded build of Perl 5.8.0? You might try a non-threaded Perl build. Regards, Kitch [EMAIL PROTECTED] -Original Message- From: K Old [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 11:27 AM To: ModPerl List Subject: Trouble with Apache::Request Hello everyone, I'm

Trouble with Apache::Request

2003-06-06 Thread K Old
Hello everyone, I'm having trouble getting Apache::Request installed on my Mandrake 9.0 system. Let me first say that I'm not using the Apache that came with Mandrake 9.0. I downloaded Apache 1.3.27, mod_perl 1.27 and PHP 4.3.1 sources and compiled and installed them. Everything works fine with

RE: DirectoryIndex doesn't see SetHandler path

2003-06-06 Thread Marc M. Adkins
> I hope that this is the issue. Marc has failed to say that he is using > mp2/apache2, so I won't be surprised if this is yet another > problem introduced > by apache-2.0 (incompatible mod_dir behavior wrt apache-1.3). see > my recent > bug reports to the httpd-dev list. Yah, yah, sorry, Apache 2

Re: How tell what version of mod_perl is installed?

2003-06-06 Thread Ged Haywood
Hi there, On 5 Jun 2003, Dennis G. Allard wrote: > Hmmm. No one has actually answered the question, although I am getting > all kinds of advice... (-; ... It's been good advice. If the question to which you refer is the one in the subject line, then one answer is look in the error log. Apach

Re: How tell what version of mod_perl is installed?

2003-06-06 Thread Dennis G. Allard
On Thu, 2003-06-05 at 13:53, Thomas Klausner wrote: > Sorry, typo: it should say -Mmod_perl instead of -Mmod-perl, i.e.: > > % perl -Mmod_perl -le 'print mod_perl->VERSION' THANKS! (I should have caught that one myself, for crying out loud). For the sake of completeness: [EMAIL PROTECTED] root

Re: How tell what version of mod_perl is installed?

2003-06-06 Thread Perrin Harkins
On Thu, 2003-06-05 at 16:37, Dennis G. Allard wrote: > Hmmm. No one has actually answered the question, although I am getting > all kinds of advice... (-; ... Thomas Klausner said that mod_perl 2 only runs on apache 2 and mod_perl 1 only runs on apache 1. He is correct. Red Hat gave you an ear

Re: How tell what version of mod_perl is installed?

2003-06-06 Thread Thomas Klausner
Hi! On Thu, Jun 05, 2003 at 01:56:58PM -0700, Dennis G. Allard wrote: > > You don't need perl-blead (which is probably Stas' install of the latest > > unstable Perl version) > > > > This will do the same job: > > % perl -Mmod-perl -le 'print mod_perl->VERSION' > > Bummmer, that does not work eit

Re: How tell what version of mod_perl is installed?

2003-06-06 Thread Dennis G. Allard
On Thu, 2003-06-05 at 13:37, Thomas Klausner wrote: > Hi! > > On Thu, Jun 05, 2003 at 01:37:59PM -0700, Dennis G. Allard wrote: [In reply to Stas] > > Please note, though, one of my goals in life is to rely on my software > > providers to do the work of providing me with a stable, tested, > >

Re: How tell what version of mod_perl is installed?

2003-06-06 Thread Dennis G. Allard
On Thu, 2003-06-05 at 13:08, Perrin Harkins wrote: > On Thu, 2003-06-05 at 15:55, Dennis G. Allard wrote: > > MySQL ShmySQL. A database that didn't have transactions until last year > > and still has no stored procedures > > Uh, we're talking about session data here, right? Basically ... My poi

Re: How tell what version of mod_perl is installed?

2003-06-06 Thread Thomas Klausner
Hi! On Thu, Jun 05, 2003 at 01:37:59PM -0700, Dennis G. Allard wrote: > Please note, though, one of my goals in life is to rely on my software > providers to do the work of providing me with a stable, tested, > updatable OS and associated tools. If I download 'out of band' updates, > then I can n

Re: How tell what version of mod_perl is installed?

2003-06-06 Thread Dennis G. Allard
Hmmm. No one has actually answered the question, although I am getting all kinds of advice... (-; ... On Thu, 2003-06-05 at 01:42, Stas Bekman wrote: > Thomas Klausner wrote: > > Hi! > > > > On Don, Jun 05, 2003 at 12:35:37 -0700, Dennis G. Allard wrote: > > > > > >>I am running Red Hat 8.0,

install mod_perl2 under Redhat 8

2003-06-06 Thread Egor Korablev
HiHow to install latest mod_perl 2 under redhat 8, i can'tfind mod-perl-1.99_09 RPM at http://perl.apache.org/download/index.htmlthx

Re: How tell what version of mod_perl is installed?

2003-06-06 Thread Perrin Harkins
On Thu, 2003-06-05 at 15:55, Dennis G. Allard wrote: > MySQL ShmySQL. A database that didn't have transactions until last year > and still has no stored procedures Uh, we're talking about session data here, right? Basically a remotely accessible hash? Stored procedures have no place there, and

problem with pulling variables from mod_ssl

2003-06-06 Thread Ryan Muldoon
I'm trying to write an apache authentication module that uses client certificates for authentication. Basically, all I'm trying to do is use what mod_ssl does for cert verification, and then set REMOTE_USER. I wrote to the list last week about a segfault, which was resolved thanks to the help you

Re: [mp2] How do I find Documentation on . . .

2003-06-06 Thread Jack Nerad
Stas Bekman wrote: [snip] Fantastic. We really need volunteers to help with the docs (at least manpages). The infrastructure is all there. We use pod and everything gets glued together by DocSet. You can find more info here: http://perl.apache.org/download/docs.html Okay. there are a few bits

Truncated POST at 8192 bytes

2003-06-06 Thread Mick Szucs
Hi All, Looks like mod_perl is discarding everything past the first 8192 bytes from POST requests. mod_perl 1.99 Perl 5.8.0 Apache 2.0.40 All latest RPMs for Redhat 9. There are some very related looking messages in the archives, but they seem to pertain to earlier version of mod_perl, and I'm

Re: How tell what version of mod_perl is installed?

2003-06-06 Thread Dennis G. Allard
On Thu, 2003-06-05 at 11:02, Perrin Harkins wrote: > On Thu, 2003-06-05 at 03:35, Dennis G. Allard wrote: > > (BTW, my more general goal is to have shared memory across multiple > > Apache threads as part of implementing sessions so that I can avoid > > doing a database write at every HTTP request

Re: How tell what version of mod_perl is installed?

2003-06-06 Thread Perrin Harkins
On Thu, 2003-06-05 at 03:35, Dennis G. Allard wrote: > (BTW, my more general goal is to have shared memory across multiple > Apache threads as part of implementing sessions so that I can avoid > doing a database write at every HTTP request just to save session IDs.) Hmmm, save session IDs? Why ar

Re: Perl Run and Load Average

2003-06-06 Thread Perrin Harkins
On Thu, 2003-06-05 at 09:31, Batara Kesuma wrote: > I just noticed that the load was going down after I restarted httpd. Is > this because of my scripts have bugs? I think I have some DBI connect > without disconnect in my scripts. I will try to fix this and see how is > the result. Are your scrip

how Apache::MP3 was ported to mod_perl 2.0

2003-06-06 Thread Stas Bekman
I put together notes on how I was porting this module: http://perl.apache.org/docs/2.0/user/porting/porting.html#How_C_Apache__MP3__was_ported_to_mod_perl_2_0 I hope you find it useful. I've posted earlier the link to the ported module: http://stason.org/tmp/Apache-MP3-3.04.tar.gz The document abov

Re: [mp2] make test fails on redhat 8.0 with 1.99_09 and 1.99_10-devsources

2003-06-06 Thread Haroon Rafique
On Yesterday at 11:17am, SB=>Stas Bekman <[EMAIL PROTECTED]> wrote: SB> Is it possible that you have an old install and it gets loaded SB> instead? Can you try nuking any preinstalled mod_perl libs? SB> Hi Stas, This will be a long email (I think you're probably used to looking at long emails