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:
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)
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 () ,
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/
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
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 =
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
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.
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
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
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
[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
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
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
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
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
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 !=
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();
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
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:
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
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:
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
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
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:
25 matches
Mail list logo