Re: the scripts under mod_perl are running as mod_cgi

2004-12-02 Thread INFOQUEST USA INC.
Stas is right. You have a problem in your httpd.conf file. Check the section : IfModule mod_alias.c ... /IfModule you probably have a line ScriptAlias /cgi-bin/ /usr/local/http_perl/cgi-bin/ change is to: Alias /perl/ /home/user-name/public_html/cgi-bin/ and also if you have the following line:

Re: [error] Can't locate object method bootstrap via package DBI

2004-12-02 Thread Ray Chuan
From: Randy Kobes [EMAIL PROTECTED] To: Ray Chuan [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [error] Can't locate object method bootstrap via package DBI Date: Thu, 2 Dec 2004 01:00:46 -0600 (CST) - does your F drive have any unusual permissions that may be blocking (for some reason)

Re: END block weird behavior

2004-12-02 Thread Faisal Nasim
At 05:48 AM 12/2/2004, Stas Bekman wrote: Faisal Nasim wrote: Okay here's a demonstration: The test script is: #!/usr/local/bin/perl use strict; use vars qw ($mydata); $mydata = 'woodooeer'; my $data = ''; my $data2 = 'dingdong'; print Content-type: text/plain\n\n; print scalar localtime () ,

Re: [Mason] Problems w/ Apache2+Mason on Fedora Core 2

2004-12-02 Thread Frank Wiles
On Thu, 2 Dec 2004 12:30:39 +0100 Roman Va__í__ek [EMAIL PROTECTED] wrote: On Wed, Dec 01, 2004 at 08:20:03PM -0500, Kurt Hansen wrote: Also, there is an Apache::Request version 2. It's not on CPAN, but you can get it and the documentation here: http://httpd.apache.org/apreq/

Re: the scripts under mod_perl are running as mod_cgi

2004-12-02 Thread Stas Bekman
INFOQUEST USA INC. wrote: Stas is right. You have a problem in your httpd.conf file. Check the section : IfModule mod_alias.c ... /IfModule you probably have a line ScriptAlias /cgi-bin/ /usr/local/http_perl/cgi-bin/ change is to: Alias /perl/ /home/user-name/public_html/cgi-bin/ right. and also

Re: [error] Can't locate object method bootstrap via package DBI

2004-12-02 Thread Randy Kobes
On Thu, 2 Dec 2004, Ray Chuan wrote: - can you use, for example, DBI, in a simple mod_perl handler? no, even a bare script which invokes connect than disconnect fails, as with the first post: === #!F:/Net/Perl/bin/Perl.exe ## ## Perl eg use strict; use DBI; my $dbh =

Re: [error] Can't locate object method bootstrap via package DBI

2004-12-02 Thread Stas Bekman
Please show us your perl config: Perl.exe -V It's possible that for some reason the location of XS modules is not found. -- __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide

Re: [Mason] Problems w/ Apache2+Mason on Fedora Core 2

2004-12-02 Thread Kurt Hansen
Also, there is an Apache::Request version 2. It's not on CPAN, but you can get it and the documentation here: http://httpd.apache.org/apreq/ Realy it is not on CPAN? http://search.cpan.org/search?query=libapreq2mode=dist I too find it with that link, however it's an older version.

Re: DBI persistence problem

2004-12-02 Thread Perrin Harkins
On Wed, 2004-12-01 at 17:48 -0600, Richard N. Fogle wrote: We were thinking of using SQLRelay as a connection pool and concentrator, thinking it would be less expensive to wrap a connection/cursor through a unix socket into a pool vs. throwing all this at a remote server. Does that sound

Re: DBI persistence problem

2004-12-02 Thread Rob Mueller
5. We easily reach 1024 webserver processes, apache 1.3. This really sounds like a lot more httpd mod_perl processes than you should need, even on a heavily loaded system. Are you using a light frontend proxy/accelerator? http://perl.apache.org/docs/1.0/guide/strategy.html If not, you

Segfault with Apache::Request-param method

2004-12-02 Thread Chris Brown
Hi all, New to the list, somewhat new to this whole mod_perl thing. I've got a pretty good handle on it but recently I've been getting segfaults when calling $apr-param('someparam') ... this appears to be somewhat random though it happens within two or three requests when running under -X

Re: [mp2] Repeated kill -HUP to httpd dumps core

2004-12-02 Thread Stas Bekman
[please don't forget to Reply-All when following up on list's discussion! Thanks] pradeep kumar wrote: Hi, By sending a httpd -k graceful multiple times does not reproduce the problem. But kill -HUP definetly produces it. On Apache 2.0.52 it dumps core with seg fault. On

Re: [mp2] Repeated kill -HUP to httpd dumps core

2004-12-02 Thread Stas Bekman
Stas Bekman wrote: [please don't forget to Reply-All when following up on list's discussion! Thanks] pradeep kumar wrote: Hi, By sending a httpd -k graceful multiple times does not reproduce the problem. But kill -HUP definetly produces it. On Apache 2.0.52 it dumps core

Re: [error] Can't locate object method bootstrap via package DBI

2004-12-02 Thread Ray Chuan
perl -V: === Summary of my perl5 (revision 5 version 8 subversion 4) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef

Re: [error] Can't locate object method bootstrap via package DBI

2004-12-02 Thread Ray Chuan
yes, it worked...great, first time smth with DBI worked. Apache, MySQL and Perl all sit in the same dir, and drive. From: Randy Kobes [EMAIL PROTECTED] To: Ray Chuan [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [error] Can't locate object method bootstrap via package DBI Date: Thu, 2 Dec

Re: [error] Can't locate object method bootstrap via package DBI

2004-12-02 Thread Ray Chuan
Thanks for all the help. Apparently, I changed the Apache's service logon settings, and it now works. From: Ray Chuan [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [error] Can't locate object method bootstrap via package DBI Date: Fri, 03 Dec 2004 09:28:43 +0800

[mp2] Can't change AuthName

2004-12-02 Thread Maxim Nechaev
Hi! I want set AuthName from hadler(), instead from httpd.conf. I put in Authen handler: ... sub handler { my $r = shift; $r-auth_name('Decline authorization'); #^^ my ($status, $password) = $r-get_basic_auth_pw(); return $status if($status !=

Re: [mp2] Can't change AuthName

2004-12-02 Thread Geoffrey Young
Maxim Nechaev wrote: Hi! I want set AuthName from hadler(), instead from httpd.conf. I put in Authen handler: ... sub handler { my $r = shift; $r-auth_name('Decline authorization'); #^^ my ($status, $password) = $r-get_basic_auth_pw();

Re[2]: [mp2] Can't change AuthName

2004-12-02 Thread Maxim Nechaev
GY this kind of activity looks to be governed by the same override rules as GY .htaccess files. so, try setting GY AllowOverride AuthConfig It's not help. Same message in error_log. Any other variants? Thanks. Maxim Nechaev -- Report problems: http://perl.apache.org/bugs/ Mail list

Re: the scripts under mod_perl are running as mod_cgi

2004-12-02 Thread SHAHNAWAZ OSMAN
I have those lines in my http.conf in mod_alias section and I changed those as per your suggestion but still it's not working. __ Post your free ad now! http://personals.yahoo.ca -- Report problems:

Re: the scripts under mod_perl are running as mod_cgi

2004-12-02 Thread SHAHNAWAZ OSMAN
Sorry, I guess I spoke too soon. I didn't see the next message from Stas. I just created a directory (mkdir /usr/local/httpd_perl/perl) and it's working!!! Thanks to Stas and Khalid both of you. Now, my Authen::Captcha is not working under mod_perl. Is it a bug or it's just a bad code? Thanks

cvs commit: modperl STATUS

2004-12-02 Thread stas
stas2004/12/02 07:24:52 Modified:.STATUS Log: log the issue with changing the process name via *0 Revision ChangesPath 1.48 +5 -1 modperl/STATUS Index: STATUS === RCS file:

svn commit: r109528 - /perl/modperl/trunk/t/response/TestPerl/signals.pm

2004-12-02 Thread stas
Author: stas Date: Thu Dec 2 11:52:38 2004 New Revision: 109528 URL: http://svn.apache.org/viewcvs?view=revrev=109528 Log: - signal handlers don't work anywhere but with prefork, - POSIX::sigaction doesn't work under 5.6.x Modified: perl/modperl/trunk/t/response/TestPerl/signals.pm

svn commit: r109558 - /perl/modperl/trunk/Changes /perl/modperl/trunk/t/conf/modperl_extra.pl /perl/modperl/trunk/t/response/TestAPI/server_util.pm /perl/modperl/trunk/xs/Apache/ServerUtil/Apache__ServerUtil.h /perl/modperl/trunk/xs/maps/modperl_functions.map

2004-12-02 Thread stas
Author: stas Date: Thu Dec 2 13:49:17 2004 New Revision: 109558 URL: http://svn.apache.org/viewcvs?view=revrev=109558 Log: provide perl glue for the mod_perl's base_server_pool via Apache::ServerUtil::base_server_pool() Modified: perl/modperl/trunk/Changes

svn commit: r109589 - in perl/modperl/trunk: . src/modules/perl t/conf t/response/TestAPI xs/Apache/ServerUtil xs/maps xs/tables/current/ModPerl

2004-12-02 Thread stas
Author: stas Date: Thu Dec 2 15:29:58 2004 New Revision: 109589 URL: http://svn.apache.org/viewcvs?view=revrev=109589 Log: new API Apache::ServerUtil::restart_count() which can be used to tell whether the server is starting/restarting/gracefully restarting/etc. Modified: