Re: mod_perl v2 Forking

2003-09-16 Thread Stas Bekman
doesn't kill the forked process. I tried out the code here which is for mod_perl v1: http://perl.apache.org/docs/1.0/guide/performance.html#Forking_and_Executing _Subprocesses_from_mod_perl There are two problems with the code listed in the example: 1) Apache::SubProcess doesn't seem to contain the same

Re: mod_perl v2 Forking

2003-09-16 Thread Eric Frazier
Hi, I guess this is off topic for this list, since I would be doing this no matter if I was running CGI or mod_perl or whatever. I am pretty desparate to get this working, and if anyone wants to earn some cash helping me fix things PLEASE call me at 250 655-9513. I have been trying

Re: mod_perl v2 Forking

2003-09-16 Thread Rafael Garcia-Suarez
Eric Frazier wrote: ... But then I found I was using 5.8.. Thanks to a guy on comp.lang.perl.misc I know that there is a change in how signals are handled, they call it deferred signal handling because Perl now is suppose to wait until the Interpeter is in a safe state. As I understand it this

RE: mod_perl v2 Forking

2003-09-16 Thread Stephen Hardisty
. Cheers! -Original Message- From: Eric Frazier [mailto:[EMAIL PROTECTED] Sent: 16 September 2003 12:24 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_perl v2 Forking Hi, I guess this is off topic for this list, since I would be doing this no matter if I was running CGI

Re: mod_perl v2 Forking

2003-09-16 Thread Eric Frazier
Hi, That sound like one way to go, I want to be very careful with something like this. You speak as if restoring 5.6 behaviour is the best or only way to go. Do you see any other alternatives? Thanks, Eric At 04:57 PM 9/16/03 +0200, Rafael Garcia-Suarez wrote: Eric Frazier wrote: ... But

RE: mod_perl v2 Forking

2003-09-16 Thread Eric Frazier
:[EMAIL PROTECTED] Sent: 16 September 2003 12:24 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_perl v2 Forking Hi, I guess this is off topic for this list, since I would be doing this no matter if I was running CGI or mod_perl or whatever. I am pretty desparate to get this working

RE: mod_perl v2 Forking

2003-09-16 Thread Stephen Hardisty
[mailto:[EMAIL PROTECTED] Sent: 16 September 2003 12:57 To: Stephen Hardisty Cc: [EMAIL PROTECTED] Subject: RE: mod_perl v2 Forking Hi, Doing this works for me. But I am ending up with some errors that I didn't have before. Of course my bosses would get mad if I posted all of the code involed

RE: mod_perl v2 Forking

2003-09-16 Thread Eric Frazier
: exit(0); } } This seemes reasonably stable. If anybody has a better way, then I'm all ears. Cheers! -Original Message- From: Eric Frazier [mailto:[EMAIL PROTECTED] Sent: 16 September 2003 12:24 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: mod_perl v2 Forking Hi

RE: mod_perl v2 Forking

2003-09-16 Thread Eric Frazier
the exit. Otherwise, I don't know I'm afraid. -Original Message- From: Eric Frazier [mailto:[EMAIL PROTECTED] Sent: 16 September 2003 12:57 To: Stephen Hardisty Cc: [EMAIL PROTECTED] Subject: RE: mod_perl v2 Forking Hi, Doing this works for me. But I am ending up with some errors that I

RE: mod_perl v2 Forking

2003-09-16 Thread Gareth Kirwan
Haven't read much of this thread, but is POE an option ? -Original Message- From: Eric Frazier [mailto:[EMAIL PROTECTED] Sent: 16 September 2003 13:17 To: Stephen Hardisty Cc: [EMAIL PROTECTED] Subject: RE: mod_perl v2 Forking :) I think that makes sense. It was created

RE: mod_perl v2 Forking

2003-09-16 Thread Stephen Hardisty
I guess you could, but if there's already a load of code mightn't be a bit of a pain POE-ing it? -Original Message- From: Gareth Kirwan [mailto:[EMAIL PROTECTED] Sent: 16 September 2003 16:50 To: 'Eric Frazier'; Stephen Hardisty Cc: [EMAIL PROTECTED] Subject: RE: mod_perl v2 Forking

(please trim your followups!) Re: mod_perl v2 Forking

2003-09-16 Thread Stas Bekman
will later read them in archives. Thank you! __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http

[Fwd: mod_perl and PHP don't share the environment nicely]

2003-09-16 Thread Stas Bekman
Forwarded on behalf of Andy Lester [EMAIL PROTECTED] Original Message Date: Mon, 15 Sep 2003 14:53:15 -0500 From: Andy Lester [EMAIL PROTECTED] To: Perl 5 Porters [EMAIL PROTECTED], [EMAIL PROTECTED] PHP and mod_perl do not share the environment nicely. PHP's putenv

Re: mod_perl v2 Forking

2003-09-15 Thread Martin Langhoff
Cameron, Have you tried issuing the command to `at`? If you don't need to interact wih the report generator, and can pass all the parameters in the command line or via a tmp file, this is a great solution. at (and the corresponding atd) will preserve your environment vars and other niceties.

Forking w/ mod_perl 2

2003-09-12 Thread Cameron B. Prince
Hi all, I have a report creation perl script that takes about 15 minutes to run and I need to fork it. I tried the code from v1: use strict; use POSIX 'setsid'; use Apache::SubProcess; my = shift; -send_http_header(text/plain); {CHLD} = 'IGNORE'; defined (my = fork) or die

Re: Forking w/ mod_perl 2

2003-09-12 Thread Richard F. Rebel
IMHO, it would be better to put your report code into another perl program and execute it. From what I see from your snippet of code, it's not important for the parent to know what the child is going, you are even ignoring SIGCHLD. Also, at some point in the future (I hope at least) mp2 +

RE: Forking w/ mod_perl 2

2003-09-12 Thread Cameron B. Prince
Hi Richard, IMHO, it would be better to put your report code into another perl program and execute it. From what I see from your snippet of code, it's not important for the parent to know what the child is going, you are even ignoring SIGCHLD. Also, at some point in the future (I hope at

mod_perl v2 Forking

2003-09-12 Thread Cameron B. Prince
the program completes 2) Fork in such a way that restarting Apache doesn't kill the forked process. I tried out the code here which is for mod_perl v1: http://perl.apache.org/docs/1.0/guide/performance.html#Forking_and_Executing _Subprocesses_from_mod_perl There are two problems with the code listed

Re: mod_perl v2 Forking

2003-09-12 Thread Gregory S. Youngblood
about 15 minutes to run, so I must fork or double fork. I have two goals: 1) Have no zombies when the program completes 2) Fork in such a way that restarting Apache doesn't kill the forked process. I tried out the code here which is for mod_perl v1: http://perl.apache.org/docs/1.0/guide

Re: [Mason] problem with RPM instalation of Apache and Mod_perl on RedHat and Mason

2003-09-10 Thread Bruce Albrecht
in their release (without identifying it as such), and it's known to be buggy (in particular, Red Hat's version of perl 5.8.0 and mod_perl 2.0). Mason was written with Apache 1.x and mod_perl, and use with Apache 2.x/mod_perl 2.0 is not supported, and probably won't be supported until mod_perl 2.0

problem with RPM instalation of Apache and Mod_perl on RedHat and Mason

2003-09-09 Thread parvez mohamed
I have RedHat 9, I have installed Apache using rpmwich comes with RedHat9 (httpd-2.0.40-21) then ihaveinstalled mod_perl using rpm mod_perl-1.99_07-5then is have installed the latest Mason filesHTML-Mason-1.22) but when i try to start Apache it saysApache/Constants.pm not found. I serched CAPAN

Re: problem with RPM instalation of Apache and Mod_perl on RedHat and Mason

2003-09-09 Thread Stas Bekman
parvez mohamed wrote: I have RedHat 9, I have installed Apache using rpm wich comes with RedHat9 (httpd-2.0.40-21) then i haveinstalled mod_perl using rpm mod_perl-1.99_07-5 I don't know what version HTML::Mason is relying on (I'll let the mason developers to comment on it), but you probably want

Re: apache2, mod_perl: problem with CGI

2003-09-08 Thread Philip M. Gollucci
about mod_perl 1.x not mod_perl 2. Otherwise, I would completely agree. The _exact_ same code _does_ work under mod_perl2. I also see that the problem Bart was referring to was fixed in 2.93 Philip M. Gollucci wrote: I'll disagree on this being a windows only problem in CGI. I'll also

Re: apache2, mod_perl: problem with CGI

2003-09-08 Thread Stas Bekman
, you'll see that I'm talking about mod_perl 1.x not mod_perl 2. Otherwise, I would completely agree. The _exact_ same code _does_ work under mod_perl2. Ah, sorry, so what exact problem you are talking about? Can you post a link to the HTML version of the relevant section in the guide, I'm not sure

Re: apache2, mod_perl: problem with CGI

2003-09-06 Thread Stas Bekman
that may or may not run under mod_perl 2.0. However we do have this section: http://perl.apache.org/products/apache-modules.html#Porting_CPAN_modules_to_mod_perl_2_0_Status We probably should specify the version number of each of these modules. Can somebody please lookup those modules and send me

Re: apache2, mod_perl: problem with CGI

2003-09-06 Thread Stas Bekman
Philip M. Gollucci wrote: I'll disagree on this being a windows only problem in CGI. I'll also disagree about the version number. As late as CGI 3.00 this problem exists in Apache 1.3.27 and mod_perl 1.27 on SunOS. I believe it's not the problem Bart was talking about. You are most likely

Re: apache2, mod_perl: problem with CGI

2003-09-06 Thread Shannon Eric Peevey
all possible modules that may or may not run under mod_perl 2.0. However we do have this section: http://perl.apache.org/products/apache-modules.html#Porting_CPAN_modules_to_mod_perl_2_0_Status We probably should specify the version number of each of these modules. Can somebody please lookup

Re: apache2, mod_perl: problem with CGI

2003-09-06 Thread Stas Bekman
So these are the versions required to run properly with mod_perl 2.0? Here is an updated table: Module Name Required Dist Package - Apache::AuthExpire Apache-AuthExpire-0.38 Apache::AuthNetLDAPApache

RE: apache2, mod_perl: problem with CGI

2003-09-05 Thread Bart Terryn
to mention this. Kind Regards Bart -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 1:20 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: apache2, mod_perl: problem with CGI Just trying to get up and running with Apache/2.0.47

Re: apache2, mod_perl: problem with CGI

2003-09-05 Thread Stas Bekman
Thanks that did it. Great. It would be nice though if the minimum rev level of the CGI.pm could be mentioned in the doc. Or maybe it is there somewhere and I skimmed over it. It's a a CGI.pm problem, really. We can't go and support all possible modules that may or may not run under mod_perl 2.0

Re: apache2, mod_perl: problem with CGI

2003-09-05 Thread Philip M. Gollucci
I'll disagree on this being a windows only problem in CGI. I'll also disagree about the version number. As late as CGI 3.00 this problem exists in Apache 1.3.27 and mod_perl 1.27 on SunOS. The pdf troubleshooting doc on apache.org site suggest fix (I think its 5.17) also does _not_ work

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

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

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

mod_perl and GD.pm segfault

2003-09-03 Thread Jason
Embedded Perl version v5.8.0 for Apache/1.3.27 (Unix) PHP/4.3.2 mod_perl/1.28 mod_ssl/2.8.14 OpenSSL/0.9.6b I am trying to use a simple script that will display an jpeg or png image using GD.pm (readily available from CPAN) I am getting [Wed Sep 3 10:41:37 2003] [notice] child pid 832 exit

Re: mod_perl and GD.pm segfault

2003-09-03 Thread Stas Bekman
Jason wrote: Embedded Perl version v5.8.0 for Apache/1.3.27 (Unix) PHP/4.3.2 mod_perl/1.28 mod_ssl/2.8.14 OpenSSL/0.9.6b I am trying to use a simple script that will display an jpeg or png image using GD.pm (readily available from CPAN) I am getting [Wed Sep 3 10:41:37 2003] [notice] child pid

[mp2] executing subprocesses from mod_perl

2003-09-03 Thread Haroon Rafique
that either IPC::Run or Apache::SubProcess could be used. I have 2 versions of a mod_perl script using either of the modules. Which one would be preferred and why? Some reasons come to mind right away, e.g., * IPC::Run may be more mature (version 0.75), so use it. * IPC::Run is a separate install

Re: [mp2] executing subprocesses from mod_perl

2003-09-03 Thread Stas Bekman
Stas had suggested that either IPC::Run or Apache::SubProcess could be used. I have 2 versions of a mod_perl script using either of the modules. Which one would be preferred and why? Some reasons come to mind right away, e.g., * IPC::Run may be more mature (version 0.75), so use it. Don't

SOAP::Lite in mod_perl...

2003-08-29 Thread simran
Hi All, I'm having a weird problem using SOAP::Lite in one of my mod_perl modules. A snippet of my code is: sub _dispatch { my $self = shift; my $proxy = http://our.stats.server.com.au/soap/script.cgi;; my

Re: SOAP::Lite in mod_perl...

2003-08-29 Thread Perrin Harkins
simran wrote: The above code works perfectly on: * On dev server in a standalone script * On our dev server under: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6c DAV/1.0.3 mod_perl/1.27 * Our live server as a standalong script The code does not work on our live server under: * Live

Re: SOAP::Lite in mod_perl...

2003-08-29 Thread simran
in a standalone script * On our dev server under: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6c DAV/1.0.3 mod_perl/1.27 * Our live server as a standalong script The code does not work on our live server under: * Live Server: Apache/1.3.28 (Unix) mod_ssl/2.8.15 OpenSSL/0.9.6c DAV

Re: SOAP::Lite in mod_perl...

2003-08-29 Thread simran
in a standalone script * On our dev server under: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6c DAV/1.0.3 mod_perl/1.27 * Our live server as a standalong script The code does not work on our live server under: * Live Server: Apache/1.3.28 (Unix) mod_ssl/2.8.15 OpenSSL/0.9.6c DAV

Re: SOAP::Lite in mod_perl...

2003-08-29 Thread Ged Haywood
Hi guys, On Thu, 28 Aug 2003, Perrin Harkins wrote: simran wrote: The above code works perfectly on: * On dev server in a standalone script * On our dev server under: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6c DAV/1.0.3 mod_perl/1.27 * Our live server as a standalong

Re: SOAP::Lite in mod_perl...

2003-08-29 Thread Stas Bekman
Ged Haywood wrote: Hi guys, On Thu, 28 Aug 2003, Perrin Harkins wrote: simran wrote: The above code works perfectly on: * On dev server in a standalone script * On our dev server under: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6c DAV/1.0.3 mod_perl/1.27 * Our live server

Re: SOAP::Lite in mod_perl...

2003-08-29 Thread Ged Haywood
Hi Stas, On Fri, 29 Aug 2003, Stas Bekman wrote: Ged Haywood wrote: Have you mentioned this to Philippe Chiasson? Beg your pardon, Ged? What this has to do with Philippe? Wasn't he organising the release of mod_perl 1.28? If people are moving to a 1.3.28/1.28 combination, I would expect

Re: SOAP::Lite in mod_perl...

2003-08-29 Thread Stas Bekman
Have you mentioned this to Philippe Chiasson? Beg your pardon, Ged? What this has to do with Philippe? Wasn't he organising the release of mod_perl 1.28? He was a release manager, not a person to blame, even if there was a problem with 1.28, which is certainly not the case. If people

RE: SOAP::Lite in mod_perl...

2003-08-29 Thread Greg_Cope
On an unrelated note SOAP::Lite developement seems to have gone quite to me anyway. Greg -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-28 Thread Charlie Garrison
Good afternoon, On 27/8/03 at 9:37 AM -0400, Michael [EMAIL PROTECTED] wrote: The reason this question is mod_perl related is that he is doing the initial authentication using mod_perl, and is creating a cookie based ticket. But he wants that ticket to also be accepted by a non-mod_perl enabled

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-28 Thread Charlie Garrison
Good afternoon, On 27/8/03 at 9:45 AM -0400, Michael [EMAIL PROTECTED] wrote: Any other suggestions? I'd think you'd want to have the same authentication process for both, and a shared database (or something) to store the session data. Have the front-end do the login part, pass the client to

Re: Installation/test problems - mod_perl-1.27

2003-08-27 Thread Ged Haywood
Hi there, On Tue, 26 Aug 2003, Patrick West wrote: I've installed apache_1.3.27 and mod_perl-1.27. When I go to run the tests in mod_perl-1.27/t (just running the first one), first it complains that it couldn't start the server. But the server is actually running. Are you sure you have

Re: Installation/test problems - mod_perl-1.27

2003-08-27 Thread Ged Haywood
Hi there On Tue, 26 Aug 2003, Patrick West wrote: Apparently $net::httpserver is set incorrectly, [snip] So ... where is $net::httpserver being set? t/net/config.pl 73, Ged. PS: Please keep it on the list... :) -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info:

Re: problem with mod_perl 2.0 + apache 2.0 and proxyreq

2003-08-27 Thread Stas Bekman
John Chiu wrote: Thanks in advance. I've tried all the archives and google'd but I have not found anything that would help. I'm running RH 8.0, httpd-2.0.40-11.5 and mod_perl-1.99_05-3 from the RedHat distribution. I'm trying to create a small proxy module that will check a non-proxy

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-27 Thread Charlie Garrison
Good morning, On 26/8/03 at 8:26 PM +0200, Thomas Klausner [EMAIL PROTECTED] wrote: Hi! On Die, Aug 26, 2003 at 09:06:05 +1000, Charlie Garrison wrote: I need to protect resources in both the static (proxy) front-end and the mod_perl back-end. I have been using standard http authentication

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-27 Thread Michael
On Tue, Aug 26, 2003 at 21:06:05, Charlie Garrison said... The second one, Cookie Authentication with MySQL, looks like a very good option, except for two issues. Fist, it doesn't support the 'require group...' directive. And second, it doesn't appear to cache mysql connections so I am

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-27 Thread Cees Hek
this question is mod_perl related is that he is doing the initial authentication using mod_perl, and is creating a cookie based ticket. But he wants that ticket to also be accepted by a non-mod_perl enabled server (ie a front end proxy). Cheers, Cees -- Reporting bugs: http://perl.apache.org/bugs

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-27 Thread Charlie Garrison
Good afternoon, On 27/8/03 at 2:49 PM +1000, Cees Hek [EMAIL PROTECTED] wrote: Umm, use Apache::DBI, that's what it's for. It was easy to miss in the email if you skimmed it, but he is looking for a C based module, so any perl based solutions are out. The reason this question is mod_perl

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-27 Thread Charlie Garrison
Good afternoon, On 27/8/03 at 12:05 AM -0400, Michael [EMAIL PROTECTED] wrote: The second one, Cookie Authentication with MySQL, looks like a very good option, except for two issues. Fist, it doesn't support the 'require group...' directive. And second, it doesn't appear to cache mysql

Carpout in mod_perl

2003-08-27 Thread Wojciech Pietron
Solaris 2.5.1 perl 5.6.0 Apache/1.3.27 (Unix) mod_perl/1.27 CGI 2.76 CGI::Carp 1.20 Hi, I have problems with redirecting STDERR in mod_perl. Have a look at the following example: == #/usr/bin/perl -w use CGI qw(header param url_param url

File Upload mod_perl to mod_perl2

2003-08-27 Thread rkl
Could anyone advise which file upload method to use that is be written in mod_perl that will be migrated to mod_perl2 at a later time? And, generally, which particular package from mod_perl (1) should be avoided. Any insight will be helpful. -- Reporting bugs: http://perl.apache.org/bugs

Re: Ticket/cookie based authentication for mod_perl and staticfrontend

2003-08-27 Thread Ged Haywood
Hi there, On Wed, 27 Aug 2003, Charlie Garrison wrote: Do you also write the apache module for the frontend server? I'm very competent at perl, but not competent enough to write an apache module. It's not so hard. There's a skeleton module in the Apache sources for you to start with, take a

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-27 Thread Michael
On Wed, Aug 27, 2003 at 14:49:05, Cees Hek said... It was easy to miss in the email if you skimmed it, but he is looking for a C based module, so any perl based solutions are out. Whoops, you're right, I did just skim it. The reason this question is mod_perl related is that he is doing

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-27 Thread Michael
On Wed, Aug 27, 2003 at 15:45:11, Charlie Garrison said... I haven't been 100% happy with any of the systems written by other people so I've always just written my own. It's a rather simple Do you also write the apache module for the frontend server? I'm very competent at perl, but not

Re: File Upload mod_perl to mod_perl2

2003-08-27 Thread Stas Bekman
Issac Goldstand wrote: You might want to look at Apache::Request for mod_perl. It's currently almost ready for mod_perl2... or meanwhile use CGI.pm 2.93 or higher. - Original Message - From: rkl [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 9:51 AM Subject

Re: Carpout in mod_perl

2003-08-27 Thread Josh Chamas
printing to STDERR ... == If I use CGI instead of mod_perl, it is OK. I have all my STDERR messages at myerror.log. But when I put my script in mod_perl environment then I have some of the messages in myerror.log and some in standard Apache

Ticket/cookie based authentication for mod_perl and static frontend

2003-08-26 Thread Charlie Garrison
Good evening, I have done a bit of research and found some possible solutions, but none of them seem to be exactly what I want. First, the problem I need to solve... I need to protect resources in both the static (proxy) front-end and the mod_perl back-end. I have been using standard http

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-26 Thread Thomas Klausner
Hi! On Die, Aug 26, 2003 at 09:06:05 +1000, Charlie Garrison wrote: I need to protect resources in both the static (proxy) front-end and the mod_perl back-end. I have been using standard http authentication which works pretty well except for not allowing a proper logout function and some

Installation/test problems - mod_perl-1.27

2003-08-26 Thread Patrick West
I've installed apache_1.3.27 and mod_perl-1.27. When I go to run the tests in mod_perl-1.27/t (just running the first one), first it complains that it couldn't start the server. But the server is actually running. So I run modules/actions (commenting out the part of TEST that tries to start

Re: Installation/test problems - mod_perl-1.27

2003-08-26 Thread Bruce Tennant
Can we fix the "list" so that when a person replies, it defaults to the list address and not the posters? This I think is what many of the "keep it on the list" comments come from. This is the only list I am on that doesn't have a reply-to that defaults to the list (and I'm on more than 10).

Re: Installation/test problems - mod_perl-1.27

2003-08-26 Thread Perrin Harkins
On Tue, 2003-08-26 at 18:41, Bruce Tennant wrote: Can we fix the list so that when a person replies, it defaults to the list address and not the posters? Read the following thread: http://marc.theaimsgroup.com/?l=apache-modperlm=99790842623617w=2 - Perrin -- Reporting bugs:

Re: Installation/test problems - mod_perl-1.27

2003-08-26 Thread Stas Bekman
... :) __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org

[DIGEST] mod_perl digest 2003/08/11

2003-08-25 Thread jgsmith
-- mod_perl digest August 11, 2003 - August 24, 2003 -- Recent happenings in the mod_perl world... Features o

Re: Apache 2.0, mod_perl filter question

2003-08-22 Thread Ilia Rassadzin
, password); my $response = $ua-request($f-press(submit)); $cookie_jar-extract_cookies($response); $cookie_jar-save(); print $response-content if $response-is_success; ie, non-SSL browser - proxy + mod_ssl + mod_perl filter - server works for me for GET If I do the same with IE, ie Tools-Internet

Re: Apache 2.0, mod_perl filter question

2003-08-22 Thread Stas Bekman
if I am wrong) Like SSL-enabled browser - Proxy (SSL, Apache) - Proxy (non SSL, Apache, here goes filtering) - another Proxy ( SSL, Apache) - Server (SSL) So you try to use mod_perl 2.0 as a proxy, which decrypts the stream, does something to it, encrypts it back and sends it further? I'm not sure

Re: Apache 2.0, mod_perl filter question

2003-08-22 Thread Gedanken
To the best of my knowledge, the 'proxy' that is used in LWP still cannot support CONNECT style SSL proxies, meaning its very hit or miss if it works - roughly 50/50 for the few hundred proxies ive checked recently. try replacing *all* your $UA-proxy lines with $ENV{HTTPS_PROXY} =

Re: Apache 2.0, mod_perl filter question

2003-08-22 Thread Ilia Rassadzin
Hello, I am trying to use as a proxy Apache 2.0 which includes mod_proxy and mod_ssl. I am trying to use mod_perl for parsing/changing decrypted plain text HTML data passed over SSL. maybe there are other ways to do this, let me know. The script shows that it is theoretically possibly to parse

Errors trying to port (old) mod_perl software

2003-08-22 Thread Harold Martin
Hello, I'm trying to get some old mod_perl software (namely ProMP3 http://promp3.sourceforge.net/) to work under mod_perl2. It uses Apache::Constants, but it couldn't find that module (duh), so I too a stab in the dark and changed it to Apache::Const. When I try to run that I get the error: Can't

Re: Errors trying to port (old) mod_perl software

2003-08-22 Thread Stas Bekman
Harold Martin wrote: Hello, I'm trying to get some old mod_perl software (namely ProMP3 http://promp3.sourceforge.net/) to work under mod_perl2. It uses Apache::Constants, but it couldn't find that module (duh), so I too a stab in the dark and changed it to Apache::Const. When I try to run that I

Re: Apache 2.0, mod_perl filter question

2003-08-21 Thread Stas Bekman
Ilia Rassadzin wrote: Hello mod_perl, I have some problems with filtering HTTPS traffic. I modified for my needs FilterSnoop module from Stas Bekman filter tutorial. It perfectly sees HTTP data, but not HTTPS. Does anyone have any suggestions(ideas) about how to implement a filter which will see

Re: Trouble getting mod_perl and apache running with Apache::DBI

2003-08-18 Thread K Old
On Sun, 2003-08-17 at 11:41, Perrin Harkins wrote: On Fri, 2003-08-15 at 10:34, K Old wrote: What's happening is that with use Apache::DBI uncommented in either the httpd.conf or startup.pl Apache does not start. Do you have something in your code that connects to a database during

Re: Trouble getting mod_perl and apache running with Apache::DBI

2003-08-18 Thread Perrin Harkins
On Mon, 2003-08-18 at 11:33, K Old wrote: My problem was that I was not declaring PerlModule Apache::DBI in httpd.conf BEFORE my PerlRequire /etc/httpd/conf/startup.pl. Also, I was doing a use Apache::DBI in my startup.pl file, which I shouldn't have done. Sorry, that is not correct. It's

Re: Trouble getting mod_perl and apache running with Apache::DBI

2003-08-17 Thread Perrin Harkins
On Fri, 2003-08-15 at 10:34, K Old wrote: What's happening is that with use Apache::DBI uncommented in either the httpd.conf or startup.pl Apache does not start. Do you have something in your code that connects to a database during startup? That could be a problem. Also, what's the point of

Trouble getting mod_perl and apache running with Apache::DBI

2003-08-15 Thread K Old
Hello everyone, I've set mod_perl up with Apache::DBI on several servers, both with mod_perl from RPM's and building it myself, but I am having a horrible time with a new server I've just built. Go easy, I'm still new at it, though. And I welcome any and all constructive criticism for my config

Re: Trouble getting mod_perl and apache running with Apache::DBI

2003-08-15 Thread K Old
I left out my version of Perl. I'm using 5.6.1 from RPM. Kevin On Fri, 2003-08-15 at 10:34, K Old wrote: Hello everyone, I've set mod_perl up with Apache::DBI on several servers, both with mod_perl from RPM's and building it myself, but I am having a horrible time with a new server I've

Mod_perl how to include the result of mod_autoindex?

2003-08-14 Thread Coexec
I am writing a mod_perl script using CGI.pm and Apache 1.3.28/Linux. I am trying to figure out how to use Apache's mod_autoindex to display a directories contents within the output the CGI. Apache is configured correctly, I am not asking for Apache help. The end user will submit a form. One

Re: Q: How do I upgrade Perl w/mod_perl?

2003-08-14 Thread Stas Bekman
Tim Howell wrote: I'm currently using mod_perl 1.2.7 with Perl 5.8.0. If I want to test Perl 5.8.1 RC4, how do I recompile Perl and mod_perl without having to make other changes? Is there a simple way to do this upgrade? http://perl.apache.org/docs/1.0/guide/install.html

Re: Mod_perl how to include the result of mod_autoindex?

2003-08-14 Thread Slava Bizyayev
It's not quite the truth... You can do all that staff on Apache 1.3 with appropriate skills. See LWP for example. Thanks, Slava On Mon, 2003-08-11 at 14:06, Thomas Klausner wrote: Hi! On Mon, Aug 11, 2003 at 08:37:19AM -0700, Coexec wrote: I am writing a mod_perl script using CGI.pm

Question about mod_perl startup script

2003-08-14 Thread Wes Plate
I am getting up and running a server that wants mod_perl. The instructions talks about a startup script. I'm very new, so I don't know how I'm supposed to get this step completed. Do I copy the provided script to a location? Do I edit an existing script? Do I edit some configuration file

(maybe offtopic) mod_perl/DBI/PostgreSQL

2003-08-14 Thread Bruce Tennant
. But when I do it from my mod_perl app, it sometimes jumps by two. I know the sequence will advance even if there's an error, but I'm not getting any error messages back from DBI. Has anyone else run across something like this? I know this is kind of off topic, but it maybe related to mod_perl's

Re: (maybe offtopic) mod_perl/DBI/PostgreSQL

2003-08-14 Thread greg
Do you have any code that might do a select to determine the value of the sequence used? Example: INSERT blah blah blah; SELECT currval(sequence_name); or somethign like that? If so, the SELECT may be incrementing the counter and that would explain the jump by 2 your seeing. There is a

Re: Mod_perl how to include the result of mod_autoindex?

2003-08-14 Thread Geoffrey Young
Thomas Klausner wrote: Hi! On Mon, Aug 11, 2003 at 04:37:45 -0500, Slava Bizyayev wrote: It's not quite the truth... You can do all that staff on Apache 1.3 with appropriate skills. See LWP for example. If you mean to grab the output of e.g. mod_autoindex by issueing a sperate request using

Re: Mod_perl how to include the result of mod_autoindex?

2003-08-14 Thread Thomas Klausner
Hi! On Mon, Aug 11, 2003 at 04:37:45 -0500, Slava Bizyayev wrote: It's not quite the truth... You can do all that staff on Apache 1.3 with appropriate skills. See LWP for example. If you mean to grab the output of e.g. mod_autoindex by issueing a sperate request using LWP, that's definitly

Re: (maybe offtopic) mod_perl/DBI/PostgreSQL

2003-08-14 Thread Bruce Tennant
Yeah, actually here is the code snippets I use. Table def: CREATE SEQUENCE s_league_lid minvalue 1; CREATE TABLE t_League ( /* lid integer DEFAULT nextval('s_league_lid') PRIMARY KEY,*/ lid SERIAL PRIMARY KEY NOT NULL, name VARCHAR(20) UNIQUE NOT NULL, numdiv integer, draft integer, last_wvr

[DIGEST] mod_perl digest 2003/07/28

2003-08-14 Thread jgsmith
-- mod_perl digest July 28, 2003 - August 10, 2003 -- Recent happenings in the mod_perl world... Features o

Apache 2.0, mod_perl filter question

2003-08-12 Thread Ilia Rassadzin
Hello mod_perl, I have some problems with filtering HTTPS traffic. I modified for my needs FilterSnoop module from Stas Bekman filter tutorial. It perfectly sees HTTP data, but not HTTPS. Does anyone have any suggestions(ideas) about how to implement a filter which will see HTTPS? Thanks

Re: Mod_perl how to include the result of mod_autoindex?

2003-08-12 Thread Christopher Grau
On Mon, Aug 11, 2003 at 08:37:19AM -0700, Coexec wrote: The end user will submit a form. One of the values in that form will be a path on the local web server. So in the return of the CGI, I want to include the results of Apache's autoindex. I cannot figure out how to do it. If I could

Q: How do I upgrade Perl w/mod_perl?

2003-08-11 Thread Tim Howell
Title: Q: How do I upgrade Perl w/mod_perl? I'm currently using mod_perl 1.2.7 with Perl 5.8.0. If I want to test Perl 5.8.1 RC4, how do I recompile Perl and mod_perl without having to make other changes? Is there a simple way to do this upgrade? Thanks! =) --TWH

Re: Mod_perl how to include the result of mod_autoindex?

2003-08-11 Thread Thomas Klausner
Hi! On Mon, Aug 11, 2003 at 08:37:19AM -0700, Coexec wrote: I am writing a mod_perl script using CGI.pm and Apache 1.3.28/Linux. I am trying to figure out how to use Apache's mod_autoindex to display a directories contents within the output the CGI. Apache is configured correctly, I am

Re: MP1 - libapreq1.2 broke apache / mod_perl installation

2003-08-04 Thread Iphigenie
mod_perl knowledge is not good enough to help here - and besides I am in a fight of my own with Apache::Session::Postgresql :( -- Iphigenie, [EMAIL PROTECTED] on 04/08/2003

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-08-04 Thread Steve Hay
Michael G Schwern wrote: The problem is likely the MY::dynamic hack in c/Makefile.PL. 6.05 and previous had this: dynamic :: Makefile $(INST_DYNAMIC) $(INST_BOOT) 6.06_01 and up have this dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT) for some reason, MY::dynamic is trying to lop

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-08-04 Thread Michael G Schwern
On Mon, Aug 04, 2003 at 08:46:27AM +0100, Steve Hay wrote: I tried changing the s/// to: $string =~ s{ \$\(INST_DYNAMIC\)}{}g; $string =~ s{ \$\(INST_BOOT\)}{}g; (I've dropped the trailing spaces in the patterns), which produced: dynamic :: $(FIRST_MAKEFILE) $(NOECHO) $(NOOP)

  1   2   3   4   5   6   7   8   9   10   >