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 again

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: http://perl.apache.org/bugs

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 in

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_bas

[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 != Apache:

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 +0

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,

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 useithrea

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: [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

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 Righ

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 definite

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 o

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=libapreq2&mode=dist I too find it with that link, however it's an older version. I

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: END block weird behavior

2004-12-02 Thread Stas Bekman
Faisal Nasim wrote: 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 = 'woodoo'; my $data2 = 'dingdong'; print "Content-type: text/plain\n\n"; print

Re: $0 problem with mp1

2004-12-02 Thread Stas Bekman
Pratik wrote: I've never used that under mp1, did it actually ever work? Nop, it didn't work. I can see some experimental code which is enabled when compiled with -DPERL_TIE_SCRIPTNAME. but I won't have the time to look at it, until after modperl2 is released. Feel free to look through the code a

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 = DB

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 : ... 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 if you have the following li

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/ap

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

2004-12-02 Thread Roman Vašíček
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/ > Realy it is not on CPAN? http://search.cpan.org/search?query=libapreq2&mode=dis

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: [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 r

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 : ... 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: change it to You should be