On Thu, 20 Apr 2000, Doug MacEachern wrote:
> On Thu, 20 Apr 2000, Robert B. Easter wrote:
>
> > Will mod_perl work as a DSO using USE_APXS=1?
>
> with 1.22 it should work fine.
>
> > child pid x exit signal Segmentation fault (11)
>
> any chance you're using XML::Parser? if so, con
Hi,
I was thrilled when I started using the latest version of DBILogger,
especially when I found that I could set the HTTP_USER programmatically,
so I can log the name of the user with each entry, even though I'm using
CGI database authentication. Yippee!
My only concern right now is that I wou
On Thu, 20 Apr 2000 [EMAIL PROTECTED] wrote:
> Hi, After much fast progress buiding a new machine, I'm stuck.
> This is a vanilla RH6.2 box with almost nothing on it.. no
> residue from RPM perl or httpd (deselected at machine blast time).
>
> I've built perl 5.6.0 (all tested out ok), also buil
eric and stas already let the cat out of the bag, but i was planning to
give a summary of what's in progress for mod_perl-2.0 anyhow :)
i've included a summary of the pieces i'm currently working on, there's a
great deal left to do, but it's looking good and moving along fast.
i'll be putting thes
> "Doug" == Doug MacEachern <[EMAIL PROTECTED]> writes:
Doug> why all the globals?? symbol table lookups are much slower than
Doug> lexicals.
If I recall, the word lately is that they're much closer than they were.
But lexicals are still "cleaner", if I recall.
--
Randal L. Schwartz - St
I have installed mod_perl, and I believe it was successful, however, when I try
to include the ApacheDBI in the startup.pl file, and try to access a script,
Apache crashes with this message:
[notice] caught SIGTERM, shutting down
If I comment out the lines that add ApacheDBI, then Apache works
Hi, After much fast progress buiding a new machine, I'm stuck.
This is a vanilla RH6.2 box with almost nothing on it.. no
residue from RPM perl or httpd (deselected at machine blast time).
I've built perl 5.6.0 (all tested out ok), also built apache 1.3.12
both with and without Ben-SSL (all teste
> > Is there a way to pass data into a SubRequest using the post method?
>
> no, you'll need to use GET and $r->args
>
> which can be made transparent with the module below, provided your code
> can deal with post POST and GET requests.
That works great if the Content-Type of the POST is
applica
Hi all,
On Thu, 20 Apr 2000, Doug MacEachern wrote:
> > I have a static Solaris compilation, and have the same problems
> > where the parent seems to grow by 1M each HUP.
>
> that's strange, do you have PerlFreshRestart On or some sections?
> otherwise, kill -HUP with a static modperl is a no
> This implies that on another OS, the system malloc() might be different?
> Right??
right.
> Now, does this mean that if usemyalloc='y', memory is not returned to
> the OS, no matter what the OS is
yes.
> So this (attached) section is to be deleted now as a non-relevant?
i suppose.
On Thu, 20 Apr 2000, Roger Espel Llima wrote:
> POSTing to this handler hangs Apache, unless the content is extremely
> short. A strace shows that it's stuck read()ing from the client socket.
>
> I've looked with gdb, and it looks like ap_die calls
> ap_discard_request_body, which calls ap_set
On Thu, 20 Apr 2000, Robert B. Easter wrote:
> Will mod_perl work as a DSO using USE_APXS=1?
with 1.22 it should work fine.
> child pid x exit signal Segmentation fault (11)
any chance you're using XML::Parser? if so, configure apache with
--disable-rule=EXPAT
otherwise, we'll ne
I'm trying to unsubscribe. I've sent mail to [EMAIL PROTECTED]
but it keeps coming. I used every combination of
unsubscribe
unsubscribe modperl
unsubscribe modperl [EMAIL PROTECTED]
in both subject and body to no avail. I sent mail to [EMAIL PROTECTED]
but I received nothing in reply.
Can the h
> I have a static Solaris compilation, and have the same problems
> where the parent seems to grow by 1M each HUP.
that's strange, do you have PerlFreshRestart On or some sections?
otherwise, kill -HUP with a static modperl is a noop.
On Thu, 20 Apr 2000, Paul Lindner wrote:
> Hello mod_perl'ers.
>
> I don't know if it's just me, but I'm having problems with growing
> memory reallocation on a HUP or graceful (USR1) restart. I've looked
> through the mailing list archives and the wonderful guide, but have
> come up short of a
> ...so if I want to protect a directory with a custom Authen/Authz or
> Access handler, php won't parse! is this familiar territory for anyone?
just remove 'SetHandler perl-script', you don't need that to run
Authen/Authz handlers.
On Wed, 19 Apr 2000, James Graham wrote:
> Now when I startup the httpd with both modules (php and perl) Load and Add
> Module'd
> in httpd.conf the parent starts but seems to hang; no children are spawned
> and nothing
> is logged under error_log either. If I comment out the Load/Add Module fo
> From: Doug MacEachern <[EMAIL PROTECTED]>
> Date: Thu, 20 Apr 2000 14:04:09 -0700 (PDT)
> Subject: Re: shrinking memory (was Re: Modperl/Apache deficiencies... Memory usage.)
>
> On Tue, 18 Apr 2000, Stas Bekman wrote:
>
> > What do you say? 1003520 bytes are returned to OS when @x goes out o
> but localhost/server-info shows no such directive having
> taken effect...
mod_info does it's own parsing of httpd.conf, it does not understand
sections.
On Tue, 18 Apr 2000, Michael J Schout wrote:
> Apache-TicketAccess-0.10.tar.gz
cool, but, there's already a module named Apache::TicketAccess, listed in
the apache-modlist.html:
TicketAccessbdpOTicket based access/authentication MPB
if it's something different than the example
> On Tue, 18 Apr 2000, Stas Bekman wrote:
>
> > What do you say? 1003520 bytes are returned to OS when @x goes out of
> > scope. Note that this doesn't happen if you use a global @x instead.
>
> because under linux Perl defaults to system malloc:
> % perl -V:usemymalloc
> usemymalloc='n';
>
>
On Tue, 18 Apr 2000, Hugh Williams wrote:
> I've seen several make problems posted, so maybe someone has the answer to
> this one.
>
> mod_perl fails during the 'make' with an unsatisfied symbol; first a
> little background. I'm building on an HP J2240 running HP-UX 10.20.
> In the commands bel
i've only skimmed this thread, but haven't seen any mention of chapter 8
online at http://modperl.com/ which covers sections in detail.
On Tue, 18 Apr 2000, Robert Jenks wrote:
> Got a different code dump. I'm not sure if this one is mod_perl related
> though... My httpd.conf and startup.pl are the same as my 4/9/2000 post.
> #0 0x4089fbb6 in kputac ()
> (gdb) where
> #0 0x4089fbb6 in kputac ()
> #1 0x408bf8b6 in OCISession
On Tue, 18 Apr 2000, Chris D'Annunzio wrote:
> Is there a way to pass data into a SubRequest using the post method?
no, you'll need to use GET and $r->args
which can be made transparent with the module below, provided your code
can deal with post POST and GET requests.
package Apache::POST2GET
On Tue, 18 Apr 2000, DeWitt Clinton wrote:
> On Tue, Apr 18, 2000 at 12:43:57PM -0400, Delaporta, Michael wrote:
>
> > I'm currently using XML::Parser (2.28) under Apache (1.3.11) and
> > mod_perl (1.21) and have noticed a fairly large number of segfaults in
> > the Apache error_log.
> >
> > I
On Tue, 18 Apr 2000, Stas Bekman wrote:
> What do you say? 1003520 bytes are returned to OS when @x goes out of
> scope. Note that this doesn't happen if you use a global @x instead.
because under linux Perl defaults to system malloc:
% perl -V:usemymalloc
usemymalloc='n';
if usemymalloc='y',
On Mon, 17 Apr 2000, Vivek Khera wrote:
> > "SB" == Stas Bekman <[EMAIL PROTECTED]> writes:
>
> SB> Of course, anyone has a sample section handy? I'm still an
> SB> C fan, to be changed soon :)
>
> I don't see what sections have to do with using or not
> Apache::Registry instead of handle
On Mon, 17 Apr 2000, Richard Titmuss wrote:
> Hi,
>
> I have also had this problem. I checked the modperl-cvs archive and this
> problem has been fixed in the development release.
yes, the cvs version implements Apache::OPEN
> I still have an problem using IPC::Open2. This can be demonstrated
Hi everyone, we are looking for some beta testers for a new online
application development environment.
The easiest way to describe it is to think of it as MS Access offered
exclusively online with an underlying MySQL database.
http://www.datacrawler.com
This service may be an ideal interface f
On Sun, 16 Apr 2000, Jochen Wiedmann wrote:
> Btw, Doug, as I see the sigpipe thing: What do you recommend for the
> DBD::mysql driver? (Remember the "MySQL morning bug"?) Should we
> enable or disable SIGPIPE?
apache no longer catches SIGPIPE as of 1.3.6, so it may not be an issue
anymore if m
On Thu, 20 Apr 2000, Doug MacEachern wrote:
> On Fri, 14 Apr 2000, Stas Bekman wrote:
>
> > use vars qw($q $switch $status $sessionID);
>
> why all the globals?? symbol table lookups are much slower than lexicals.
> please don't promote globals, pass lexicals to the subroutines.
Yeah, I'll
On Sat, 15 Apr 2000, John S. Evans wrote:
> So digging a little deeper (and through the magic of trial and error), the
> offending module seems to be Mail::Field.
>
> It has a bunch of code to dynamically load perl classes for various types of
> fields (AddrList, Date, Content-Type, etc), and th
On Thu, 20 Apr 2000, Doug MacEachern wrote:
> On Thu, 13 Apr 2000, Stas Bekman wrote:
>
> > > I have no real conclusion to reach, except that it seems to be leaking
> > > files.
> >
> > Well, I wanted to write Apache::FileLeak or an extension to
> > Apache::VMonitor to show the opened file desc
On Fri, 14 Apr 2000, Stas Bekman wrote:
> use vars qw($q $switch $status $sessionID);
why all the globals?? symbol table lookups are much slower than lexicals.
please don't promote globals, pass lexicals to the subroutines.
> sub handler{
> my $r = shift;
> Apache->request($r);
On Fri, 14 Apr 2000, Frédéric Schwien wrote:
> Hi,
>
> I'm using apache_1.3.12 / mod_perl-1.22 , on Suse 6.1 .
> when I try to install modperl, when perl Makefile.PL, I get the result before.
> After that, I can't make && make test && make install :
> make test crashes at listening to the port
> Sorry--you're quite right... it's not a mandatory warning at all any more. I
> run all my scripts when developing under -w, so I still get the warning.
>
> I think it would be useful to specifically check that the sub is not already
> defined in the caller's namespace:
> if (!(defined &{"${pkg}
On Thu, 13 Apr 2000, Stas Bekman wrote:
> > I have no real conclusion to reach, except that it seems to be leaking
> > files.
>
> Well, I wanted to write Apache::FileLeak or an extension to
> Apache::VMonitor to show the opened file descriptors, the files and the
> processes that have opened the
On Wed, 12 Apr 2000 [EMAIL PROTECTED] wrote:
> Hi All,
>
> Recently I installed Apache-1.3.12 with mod_perl-1.22. Standard
> installation. Everything seemed to work great.
>
> I'm using the directive
> PerlFixupHandler Apache::SIG
>
> because you have some 'alive' scripts that need to be kille
Then we should lobby hard for a modperl BOF track.
O'Reilly still hasn't posted the schedule so perhaps
there's time.
http://conferences.oreilly.com/oscon2000/bofs/
It would be helpful to see what other BOF ideas have been
submitted.
John
[EMAIL PROTECTED]
On Thu, 20 Apr 2000, DeWitt Clinton wrote:
> 5) The secure token is associated on the server side (preferably on
> another tier, such as a database) with the user identification token.
> Additionally, to support secure session timeouts, the current time
> must be recorded.
An easy way to imple
Stas Bekman writes:
> Therefore a possible solution, as offered by both conference organizers,
> is to have a dedicated mod_perl track this summer in Monterey and in
Close, but not quite. It's too late to adjust the July 2000
conference (layout was finalized around March 1), but we are all
syste
Ok, It's been a while since I've started this thread and there is no more
comments on this topic, so I'll summarize.
It's clear that we want a dedicated track for mod_perl only. There is
demand and there are many bright people at least on this list who will
want to share their knowledge, so there
w trillich ([EMAIL PROTECTED]) said something to this effect:
> > while($domain = $sth->fetchrow_array)
> > {
> > $PerlConfig .= <<"CONFIG";
> >
> > ServerName www.$domain
> > ServerAdmin webmaster@$domain
> > ServerAlias $domain
> > DocumentRoot $baseDir/www.$domain/htdocs/
On Thu, Apr 20, 2000 at 11:56:00AM -0400, Robert B. Easter wrote:
> Will mod_perl work as a DSO using USE_APXS=1?
>
> I've tried it very simply as:
> perl Makefile.PL USE_APXS=1
> make
> make install
>
> It compiles ok and Apache 1.3.12 will startup identifying itself as
> mod
Hi,
Interesting thread and interesting question.
It makes sense to start with the requirements for what it means to
implement those secure features. My requirements have an obvious
e-commerce bias, and should probably be heavily reviewed by anyone
thinking of using this design for onli
Will mod_perl work as a DSO using USE_APXS=1?
I've tried it very simply as:
perl Makefile.PL USE_APXS=1
make
make install
It compiles ok and Apache 1.3.12 will startup identifying itself as
mod_perl/1.22_01-dev mod_ssl 2.6.2 openSSL 0.9.5a (sometimes I Load php4
too but
I'm porting a site from Apache::Registry to mod_perl handlers, using
Apache 1.3.12 and mod_perl 1.21. I've noticed a problem with POST
requests: if a ContentHandler reads the POST body with $r->content and
subsequently returns NOT_FOUND, Apache will hang trying to read the
content again.
The sim
Thanks. I looked into the wrong archive. When i checked the one on
swarthmore.edu, it was second down.
Scott.
Matt Sergeant wrote:
>
> On Thu, 20 Apr 2000 [EMAIL PROTECTED] wrote:
>
> > I've been working on a site using Apache::Registry and although it
> > works, an occasional request will
> -Original Message-
> From: w trillich [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 20, 2000 11:51 AM
> To: modperl
> Subject: Re: Perl Section...
>
>
> > while($domain = $sth->fetchrow_array)
> > {
> > $PerlConfig .= <<"CONFIG";
> >
> > ServerName www.$domain
> >
On Thu, 20 Apr 2000 [EMAIL PROTECTED] wrote:
> I've been working on a site using Apache::Registry and although it
> works, an occasional request will just get into some loop or ? and eat
> up much of the availble processor power.
> When I check the logs, i find the error :
> [Thu Apr 20 08:32:44
> while($domain = $sth->fetchrow_array)
> {
> $PerlConfig .= <<"CONFIG";
>
> ServerName www.$domain
> ServerAdmin webmaster@$domain
> ServerAlias $domain
> DocumentRoot $baseDir/www.$domain/htdocs/
>
>
> CONFIG
> }
doesn't $sth->fetchrow_array() return a reference to an
I've been working on a site using Apache::Registry and although it
works, an occasional request will just get into some loop or ? and eat
up much of the availble processor power.
When I check the logs, i find the error :
[Thu Apr 20 08:32:44 2000] mod_perl: rwrite returned -1
[Thu Apr 20 08:32:44
At 05:36 PM 4/20/00, Differentiated Software Solutions Pvt. Ltd. wrote:
>a) [...] then do we have a
>security hole? Is not the user assuming that by killing the browser we are
>exiting the system !!
Yes there is a security risk. HTTP is an insecure protocol. You can use the
ideas that have been
At 04:27 PM 4/20/00, Gunther Birznieks wrote:
>Yeah it works on all the clients, but it's a pain in the ass to do
>relative URLs when manipulating PATH_INFO. So it's not necessarily
>trivial to program and maintain unless you pass everything through a
>monolithic CGI.
>
>Of course, on Apache i
On Thu, 20 Apr 2000, Matt Sergeant wrote:
> Date: Thu, 20 Apr 2000 09:11:00 +0100 (BST)
> From: Matt Sergeant <[EMAIL PROTECTED]>
> To: Gunther Birznieks <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: Re: crypt() under windows
>
> On Thu, 20 Apr 2000, Gunther Birznieks
Hi,
After reading Jeff, Gunther and Manfred, I think I've got a hang of what's
to be done. Thanks for the same.
I just can't help but continue discussion to slightly more
theoritical/hypothetical ways. I would like to understand consequences of
what we're doing.
My questions are
a) If a user ent
On Thu, 20 Apr 2000, Matt Sergeant wrote:
> On Thu, 20 Apr 2000, Gunther Birznieks wrote:
>
> > At 09:00 PM 4/19/00 +0100, Matt Sergeant wrote:
> > >On Wed, 19 Apr 2000, Tim Bishop wrote:
> > >
> > > >
> > > > Hi-
> > > >
> > > > We used Martin Vorlaender's Crypt::UnixCrypt module for the same r
> -Original Message-
> From: Bryan J. Opfer [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 19, 2000 5:42 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Perl Section...
>
>
> I have $sth->finish in there right before the disconnect and it sill
> gives me the message. If it is just a wa
hi, someone to know is there a binary package of mod_perl for BeOS
At 09:53 AM 4/20/00 +0530, Differentiated Software Solutions Pvt. Ltd. wrote:
>Hi,
>
>Persitent cookies was the dilemna I was in.
>
>I also found that there are persistent and non-persistent cookies. I wrote
>some test Javascript programs and found out that we can have cookies which
>die after the
Paul Lindner wrote:
>
> Hello mod_perl'ers.
>
> I don't know if it's just me, but I'm having problems with growing
> memory reallocation on a HUP or graceful (USR1) restart. I've looked
> through the mailing list archives and the wonderful guide, but have
> come up short of answers.
>
> First
Yeah it works on all the clients, but it's a pain in the ass to do relative
URLs when manipulating PATH_INFO. So it's not necessarily trivial to
program and maintain unless you pass everything through a monolithic CGI.
Of course, on Apache it may be easier by using mod_rewrite to manipulate
t
On Thu, 20 Apr 2000, Gunther Birznieks wrote:
> At 09:00 PM 4/19/00 +0100, Matt Sergeant wrote:
> >On Wed, 19 Apr 2000, Tim Bishop wrote:
> >
> > >
> > > Hi-
> > >
> > > We used Martin Vorlaender's Crypt::UnixCrypt module for the same reason
> > > you need it - no crypt() on Windows.
> >
> >Nones
Hello mod_perl'ers.
I don't know if it's just me, but I'm having problems with growing
memory reallocation on a HUP or graceful (USR1) restart. I've looked
through the mailing list archives and the wonderful guide, but have
come up short of answers.
First off, the config:
Red Hat apache 1.3.
Hy,
why do you use cookie's ??? A lot of people hate them.
I think a much better Idea is to put your sessionID in the PathInfo
of every requested URI.
So after the login your CGI generates a SessionID. Lets say your
CGI has the URI http://domain/mycgi.
After the login the cgi's output is just a re
67 matches
Mail list logo