Hi,
I am currently trying to use mod_perl as a DSO under HP/UX 11
(Apache 1.3.11, mod_perl 1.21).
First, compiling problems appeared: when building libperl.so,
ld was given wrong cc options like "-Wl,-E -Wl,-B,deferred"
(inserted by Configure).
After removal of these, a resulting ld call like
Hi,
I'd like to use sybperl from a (statically linked) mod_perl httpd.
I only have older non-PIC sybase client
libraries here (the OS is hp/ux), so I can't build sybase
as a loadable object for perl. That is, it seems I have to compile
mod_perl and sybase stuff statically into my httpd binary.
Hello,
while I begin to write some test perl script to test mod_perl after read
necessary document,still get folloing error.please correct my error(maybe
silly one)
Following is my problem while using mod_perl.
apache 1.3.3 + mysql 2.22 + RH 6.0 + modperl 1.21 + perl 5.005_3
Modperl build w/
Hi,
On Thu, 27 Jan 2000, Matt Sergeant wrote:
You'll also have to recompile Sybase::DBLib:
perl Makefile.PL LINKTYPE=static
so that it doesn't try and load the DSO.
As the problem with the non-PIC client libs also exists
for perl itself, I already _have_ compiled it this way.
As a
try using
DBI-trace(2,"/tmp/dbitrace.log");
$Apache::DBI::DEBUG = 2;
in your startup script...
Apache::DBI will only reuse $dbh handles when the connect string matches
exactly, including all the various options, so make sure your
Apache::DBI-connect_on_init and script DBI-connect strings
After fighting with RedHat SWS and never being sure if what went wrong
was my scripts' fault or some wierdness in my
Apache/mod_perl/RedHat-SSL, I'm going to follow the instructions in the
guide to make my own. (Would have saved a lot of time if I just listened
to Stas and others 2 weeks ago.)
Thank you,Geoffrey.What you said about using "the same conenct string" I
also read from the perl.apache.org/guide.the problem is ,I just click the
REFRESH button of the browser to reload the SAME perl script.and everytime I
reload it,it create a new mysql connection,why?
I did set the DBI-trace
John Walker [EMAIL PROTECTED] writes:
After fighting with RedHat SWS and never being sure if what went wrong
was my scripts' fault or some wierdness in my
Apache/mod_perl/RedHat-SSL, I'm going to follow the instructions in the
guide to make my own. (Would have saved a lot of time if I just
On Wed, Jan 26, 2000 at 03:22:12PM -0300, Martin A. Langhoff wrote:
But there's one thing that I can't imagine. When I run top, how do I
tell memory/cpu consumption from lightweight daemons from the mem/cpu
consumption from mod_perl daemons?
We have a web farm that hosts four separate
I'm developing a site with a 'Salon' like structure. Its done with
templates worked in SSI by the design team that pull in Embperl
fragments. One of these Embperl fragments calls up a few mysql queries.
I've got both an in-house testbed, rather crappy (p166, 64 MB,
RHLinux 5.2, apache
well, I am not a MySQL user (Oracle instead) so I don't understand why 6
connections would be opened for 1 script. However, to make sure we are on
the same page...
1) debug in single server mode - I'm sure you realize that Apache::DBI
creates one connection per httpd child, not just one
Just for something more on topic, how do I disable specific warnings in
mod_perl?
Bad and weird things seem to happen when I try to handle SIG{__WARN__} even
when I hide it as local. Is there any other way to pragma out specific
warnings?
Perl5.006 will introduce a new feature, which will
2) I am fairly familiar with RedHat's directory layout for installation
of Apache. Does " --with-layout=RedHat \" work for other ./configure
scripts or only mod_perl?
3) A question for Redhatters... Do I need to (should I) remake my own
perl too? I think RPM is going to whine hideously when
"Martin A. Langhoff" wrote:
Now I know the SSI/Embperl solution is not the best choice in town.
But I get exactly the same problem in a set of pure Embperl+mysql pages
I've got, so I'm not quite liking it.
What kind of performance improvemente may I get from using
Apache::DBI?
On Thu, 27 Jan 2000, vinecent hong wrote:
Thank you,Geoffrey.What you said about using "the same conenct string" I
also read from the perl.apache.org/guide.the problem is ,I just click the
REFRESH button of the browser to reload the SAME perl script.and everytime I
reload it,it create a new
Ok, I'm going a wee bit crazy here. I'm trying to build GTop so I can use
VMonitor to investigate memory usage/etc. under mod_perl. I'm using SuSE
Linux 6.3, with libgtop installed. However, I get this when I try and
build GTop:
BUILD/GTop-0.09 perl Makefile.PL
Checking if your
Hi there,
running make test fails and produces the errors listed at the end of this
message. I searched the list archives and found a posting that suggested
rebuilding Perl with the same compiler and tools that I use for apache and
mod_perl. So I did but it didn't fix the problem. I did in
Hi,
I'm looking at the AuthCookie code, getting ready to release a new version to
CPAN. It looks to me like currently only the first 'require' directive will be
processed and obeyed. Here's the code from the old authz():
foreach
"G.W. Haywood" wrote:
Hi there,
On Thu, 27 Jan 2000, Richard Ayres wrote:
Rather than trying to manhandle it all into RedHat's directory
structure *I* would rebuild apache perl etc. either into
/usr/local or their own subdirectory under /opt. That way you get to
keep all the
Check out "perldoc perltoot" under Class interface.
Cheers,
Jeff
At 01:43 PM 1/27/00 -0800, Etienne Pelaprat wrote:
hi all,
i'm starting out doing some Object Oriented programming with mod_perl
and I define one object like this:
sub new {
my $self = shift;
my $type =
Etienne, We all love the OO hype letters, but first it's the offtopic
question, second it's the FAQ question. You can hunt for luck at the perl
newsgroup or other perl generic list. But save your time and frustration
-- read some books, for example 'Object Oriented Perl' by Domian and 'Perl
'c' code in mod_auth seems to work similar as the perl code below.
- snip -
for (x = 0; x reqs_arr-nelts; x++) {
if (!(reqs[x].method_mask (1 m)))
continue;
method_restricted = 1;
t = reqs[x].requirement;
w = ap_getword_white(r-pool,
On Thu, 27 Jan 2000, Jim Winstead wrote:
Is there a way to set a PerlHandler for a specific MIME type?
Something like "PerlTypeHandler text/html HTML::Template"?
(Yes, I know I can use a Files section. Not quite as slick,
and that mucks up $r-location.)
there's no builtin config like that,
On Thu, 27 Jan 2000, Thomas Corte wrote:
Hi,
I'd like to use sybperl from a (statically linked) mod_perl httpd.
I only have older non-PIC sybase client
libraries here (the OS is hp/ux), so I can't build sybase
as a loadable object for perl. That is, it seems I have to compile
mod_perl
On Thu, 27 Jan 2000, Bruce W. Hoylman wrote:
I see Apache::RegistryNG @ISA Apache::PerlRun. Furthermore, perldoc
Apache::PerlRun states the following:
The Apache::Registry handler is much faster than
Apache::PerlRun. However, Apache::PerlRun is much faster
than CGI
On Thu, 27 Jan 2000, Stas Bekman wrote:
Hmm, let's see Doug wrote GTop... so is this ontopic? :) Check the libgtop
homepage for more info and help. (hint: README file includes the URL)
hmm, well I didn't put any email address in the GTop package :)
Apparantly, you either don't have it
On Thu, 27 Jan 2000, Stas Bekman wrote:
* Apache::RegistryNG doesn't stat() the script on each request, like
Registry does.
not true, RegistryNG is the same as Registry, aside from using filename
instead of uri for the namespace. you're thinking of RegistryBB
Doug will have to confirm my
27 matches
Mail list logo