Oops, deleted the message but someone just asked if the session notes
would be available via the web.
I don't know of the official ApacheCon plan but I can say that mine (for
my Intro to Mason presentation) will be available somewhere.
-dave
/*==
www.urth.org
We await the New
On Fri, 16 Mar 2001, Bogomolnyi Constantin wrote:
You should probably try 5.7.0 witch is much more stable than 5.6.0 (you
should not try unicode stuff , whitch is quite buggy)
I use 5.7.0 on all my production servers without any problems .
5.7.0 may have fixed some of the bugs of 5.6.0 but
My current contract is winding down and rather than rotting away at home I
think I should try to get some sort of job.
I know Perl and mod_perl very well, and Mason even better.
I'd love to work on something large scale, and it goes without saying that
I want to do Perl.
I live in Minnesota
On Tue, 13 Feb 2001, Stathy Touloumis wrote:
This code does not seem to work whether in a handler or when using a Mason
component. I have tried several variations with different versions of
mod_perl to no avail. Can anyone shed some light?
my $head = $r-headers_out;
$head-set( Location=
On Wed, 14 Feb 2001, Gunther Birznieks wrote:
I wouldn't mind a mod_perl beer-BOF like the one we had at the last night
of ApacheCon Europe
I'll go, but I won't drink any beer.
-dave
/*==
www.urth.org
We await the New Sun
==*/
On Mon, 5 Feb 2001, Perrin Harkins wrote:
First, BSD::Resource can save you from these. It will do hard limits on
memory and CPU consumption. Second, you may be bale to register a
handler for a signal that will generate a stack trace. Look at
Devel::StackTrace (I think) for how to do it.
On Mon, 5 Feb 2001, Perrin Harkins wrote:
Nope, that's not it. I wrote that one and it doesn't talk about that at
all.
I meant "for how to generate a stacktrace". Using it with a singal
handler was demonstrated on this list about two weeks ago, but I can't
recall who did it. It was
On Fri, 2 Feb 2001, Daniel Sully wrote:
You could use an IPC or DBM file (assuming you have 1 apache machine) to
communicate this info. With multiple webservers, you'd need a database or
NFS or something.
That would be a no. Socket communication only. Shared filesystems in
production
On Tue, 30 Jan 2001 [EMAIL PROTECTED] wrote:
It would be nice to see "xml marshalling" (as they call it) integrated
into an existing Perl object-relational framework like Tangram. OTOH,
Tangram isn't very well optimized for mod_perl work in general--currently
the object cache must be
On Wed, 31 Jan 2001, Robin Berjon wrote:
Alzabo (which is somewhat the opposite of Tangram) is designed with
mod_perl in mind. XML serialization will be coming real soon now (as soon
as Barrie Slaymaker finishes work on DBML).
Ah, the eternal hesitation... Alzagram any time soon ?
Well,
On Thu, 11 Jan 2001, Perrin Harkins wrote:
I meant "is there a way to run a cleanup handler in the parent after it's
work is done?", but I don't see one. Dave says the END block trick worked
for him, so maybe it only fails under certain circumstances.
Actually, I should have pointed out
On Wed, 10 Jan 2001, G.W. Haywood wrote:
Don't you get a message in error_log to the effect that a signal has
been received?
Sure, but I don't think that would help me do what I want.
Let me illustrate:
1. server is started
2. config is read, modules are loaded, BEGIN blocks are run in
On Wed, 10 Jan 2001, Danny Rathjens wrote:
Perhaps you could send a USR1 prior to your TERM signal and have your
END blocks perform your shutdown tasks if they see the USR1 signal.
But then you have the problem of new children being started due to the
USR1 not to mention it would preclude
On Wed, 10 Jan 2001, Stas Bekman wrote:
All we need is to add a $Apache::Server::Quitting or alike, in addition to
the existing $Apache::Server::Starting and $Apache::Server::ReStarting,
should be an easy patch in XS.
I'm not much of an C coder (much less XS) but maybe I'll poke around a
On Wed, 10 Jan 2001, Perrin Harkins wrote:
Randal's solution is probably better, but it's a bummer that the parent
doesn't run END blocks. Will it run cleanup handlers?
I'm pretty sure the parent runs END blocks. I just didn't want to have
the cleanup code run during child shutdown.
What
Is there any way to distinguish between a child being shutdown (say
maxrequests has been exceeded) versus all of Apache going down (kill
signal sent to the original process or something).
The reason I ask is that while I can do:
BEGIN
{
# make a file
}
I can't do:
END
{
# delete a
On Sat, 30 Dec 2000, Matt Sergeant wrote:
Another minor issue is that Apache::Request is not trivially subclassed,
the returned value from $self-SUPER::new() must be reblessed into the
desired class.
Thats a pretty standard perl idiom:
sub new {
my $class = shift;
my $self =
On 22 Dec 2000, Dave Seidel wrote:
I don't know if either Mason or Embperl offer static compilation, but Mason has
caching and I believe that Embperl is getting caching.AxKit is also very
cool, and caches.
Using Mason to generate a set of HTML pages would not be too terribly
On Thu, 14 Dec 2000, Owen Stenseth wrote:
I believe that the Bizzar copy of array problem is related to a bug in
Perl 5.6 that was patched a while ago.
Make sure you are running the latest version of perl5.6
The latest version of 5.6 _is_ 5.6.0. The bizarre copy thing is fixed in
CVS and
On Thu, 14 Dec 2000, Khachaturov, Vassilii wrote:
http://bugs.perl.org/perlbug.cgi?req=querybody=Bizarre+copy
seems to yield only one bug relevant to my particular error message case -
http://bugs.perl.org/perlbug.cgi?req=bidbid=20001207.005range=6012format=
H
which is still open. No
On Fri, 8 Dec 2000, Matt Sergeant wrote:
fatalsToBrowser installs a $SIG{__DIE__} handler, and so prevents you from
properly using eval{} blocks, or nice modules like Error.pm or
Class::Exception (or whichever way around Dave has it this week :-)
That's Exception::Class. phhhbbtt!
-dave
On Thu, 7 Dec 2000, martin langhoff wrote:
I wonder how do those hardcore guys that develop using handlers debug.
Mhhh. They must write 'perlfect' code, I guess, and/or understand those
cryptic debuggers ...
I just do a lot of debugging via warn statements and looking at the error
On Wed, 6 Dec 2000, Jim Woodgate wrote:
With a system like Tomcat running in a jvm outside of apache, you only
have one jvm, and you get things like being able to share a cache
between all sessions alot easier.
[snip]
That being said, I wonder how difficult it would be pull the perl
On Wed, 6 Dec 2000, brian moseley wrote:
another option would be to use autoconf. wrap a configure script
around your entire set of components. allow it to find and use
whichever ones you've already got installed. have it build and install
whatever you don't already have. not very tough.
On Wed, 6 Dec 2000, Aaron E. Ross wrote:
while the install and auto configure part is not very glamorous, the
possibility of being able to untar one package to get mod_perl w/ persistent
db connections, transaction management, data relational modeling/objects and
a nice
On Tue, 5 Dec 2000, brian moseley wrote:
i don't have figures, but from experience i know - once i've compiled
httpd, i have almost no real configuration work to do with php. on the
other hand, if i want to set up mason, i have to write 10-20 lines of
perl code and access them with
On Tue, 5 Dec 2000, brian moseley wrote:
infrastructure company based on mod_perl and mason. when we got down
to it, the fundamental question was: why not just use java? and we
couldn't find any answer other than "i like perl better". and that's
not a reasonable business justification.
On Tue, 5 Dec 2000, kyle dawkins wrote:
* We need to drop-kick DBI out of the park... it's not that it's bad (it's
actually great... kudos to the DBI crew) but kind of the opposite; it's so
easy to use that most people don't think beyond it. How many of you have
ever thought about
On Tue, 5 Dec 2000, brian moseley wrote:
consider a scenario in which somebody uses a web interface
to signal an action, which is placed into a message queue.
on the other end of that queue, a service handles the event
with a transaction that spans multiple third tier systems.
this is the
Relevant info:
Apache: 1.3.12
mod_perl: 1.24
Perl: 5.00503
gcc 2.95.1 on Linus 2.2.18pre19
I created a module that contains custom configs with the following code:
package HTML::Mason::Dispatcher;
use ExtUtils::MakeMaker;
use Apache::ExtUtils;
use Apache::src;
my @directives = ( { name =
On Wed, 29 Nov 2000, Matt Sergeant wrote:
On Wed, 29 Nov 2000, Dave Rolsky wrote:
my $cfg = Apache::ModuleConfig-get($r);
Try:
my $cfg = Apache::ModuleConfig-get($r, __PACKAGE__);
I should have said that its segfaulting before it ever gets into the
handler sub. I changed handler
On Wed, 29 Nov 2000, ___cliff rayman___ wrote:
plus, everyone knows your bid.
i don't have quite the credentials as Ask, but i only
cost $119.50 per hour. :-))
Hmm, I'm on the Mason core team and I'll do it for $119.49/hour ;)
Actually, I'm just kidding, I have a job I should be working on
On Thu, 30 Nov 2000, T.J. Mather wrote:
I've done a lot of programming under mod_perl and I got tired of
examining the error logs for errors. So I wrote a module that displays
to the broswer the error (with a complete call stack) for any fatals or
warnings that occur on a development server
On Mon, 27 Nov 2000, Sander van Zoest wrote:
Unfortunately, it seems that when I proxy I get the above added so I have
to serve streaming audio directly from the mod_perl server, which is less
than ideal in terms of resource use.
If you mena you rewrite to mod_proxy, then mod_proxy does
On Mon, 27 Nov 2000, Sander van Zoest wrote:
Normally the mod_proxy code doesn't touch the headers, it simply sends
the headers on from the remote server you are proxying too. I doubt
it is mod_rewrite but it could be. The extra headers are probably coming
from your remote server you are
On Mon, 27 Nov 2000, Sander van Zoest wrote:
Ah, are you trying to send ICY headers or something? mod_proxy only knows
of HTTP and sends the appropriate status itself rather then what it
gets from the remote server. This will also require some hacks in
mod_proxy to make it aware of the
On 27 Nov 2000, Joe Schaefer wrote:
mod_proxy will upgrade assbackwards requests to HTTP/1.0
before passing them along to the backend server, which may
explain why the date field shows up in your telnet experiments.
Why not post the full output of your telnet sessions so we
can see what is
On Mon, 27 Nov 2000, Sander van Zoest wrote:
Ah, are you trying to send ICY headers or something? mod_proxy only knows
of HTTP and sends the appropriate status itself rather then what it
gets from the remote server. This will also require some hacks in
mod_proxy to make it aware of the
On Tue, 28 Nov 2000, Gunther Birznieks wrote:
Dave's company could also *pay* someone to do what he wants. It would
probably take about a day of someone at Covalent (probably less) to whip
something up to stop doing the headers (and they would probably be able to
feed the change back into
This sort of a mod_perl question. When I use mod_rewrite to proxy to my
mod_perl backend servers, it seems that even if I explicitly don't send
headers I still get something like:
HTTP/1.0 OK
Date: blah bah
in front of anything I said. The issue here is that I wrote some MP3
serving code
It seems that when you ask it to scan for dynamic modules and produce the
appropriate conf file you can end up with something like this in there:
LoadModule setenvif_module"/usr/local/apache_mp"/libexec/mod_setenvif.so
The quotes cause a problem.
Here's a patch against the latest CVS
On Tue, 21 Nov 2000 [EMAIL PROTECTED] wrote:
On Tue, 21 Nov 2000, Ilya Soldatkin wrote:
Are there any open source projects running under mod_perl?
I am interested in OOP projects working with SQL databases with good style of
programming.
I'd like to use them to make my code better. If
On Mon, 6 Nov 2000, Vivek Khera wrote:
head
titleMy Site/title
/head
body
tr
td[% stick in body of article here "document.main" %]/td
td[% stick in related info here "document.sidebar" if it exists %]/td
/tr
/body
That is, I have exactly one template that I apply to each document.
On Wed, 1 Nov 2000, Matt Sergeant wrote:
Has anyone got any ideas on what they'd like to either a) talk about, or
b) hear talks about ?
I was thinking of giving a talk on Mason unless Jon Swartz wants to
(haven't asked him yet). I also have another planned but its not mod_perl
specific
On Wed, 1 Nov 2000, Paul J. Lucas wrote:
If I'm a few levels deep into function calls, I'd liek to be
able to do something like "return SERVER_ERROR" and have the
entire call stack unwind and the current request stopped.
Is there any way to do that?
Not that this
On Wed, 1 Nov 2000, Matt Sergeant wrote:
Definitely use exceptions. I prefer Error.pm for this (sorry, Dave!),
which allows your handler to simply be:
That's no reason not to use Exception::Class. They are largely
orthogonal. If you want to be able to declare your exception hierarchy at
On Wed, 1 Nov 2000, Louis-David Mitterrand wrote:
I need a tool to interactively visualize DB tables from a web interface.
Ideally this tool would let me:
- rename column headers,
- set cell alignments, widths, background colors,
- reorder columns,
- save all these visualisation settings
On Mon, 30 Oct 2000, G.W. Haywood wrote:
If you can write Perl you can write C, there are onlya couple of dozen
keywords. It's just that you're not so mollycoddled in C, you're much
closer to the machine, and you have to plan further ahead (instead of
waiting for the bang:). I prefer it.
On Mon, 30 Oct 2000, Greg Cope wrote:
I agree but apache has regex.h ... a regex libary - hence these should
be possible - or am I missing the point ?
My point was simply that while Perl makes easy things easy, C makes all
things hard ;)
Frankly, I prefer it as a Perl module since I can see
On Thu, 26 Oct 2000, John Marquart wrote:
the possibility of multiple mirror sites around the world. Is there a
apache/mod_perl module that enables this? (i.e. an end-user add content
at one sight, and upon committing it, it propogates to the other mirror
sites?) Or am I just ficticiously
Try the following handler:
package Foo;
use Apache::Request;
sub handler
{
my $r = shift;
my (@vars) = ( 'abc', "abc\0def", "def" );
$r-send_http_header;
$r-print("$_\n") foreach @vars;
}
1;
I'm using mod_perl 1.24/Apache 1.3.12/Perl 5.00503 and find that I receive
no
On Thu, 5 Oct 2000, Todd Chapman wrote:
HTML::Mason version 0.88
This isn't related to your question but please be advised that there are
bugs in 0.88 that make upgrading to 0.89 highly advisable.
This question probably belongs on the mason-users list, BTW. Please see
On Sat, 16 Sep 2000, Ian Kallen wrote:
So, my question for this group: why would I want usemymalloc=y on Solaris
2.6? Besides having to rebuild a somewhat complex mod_perl compile, I'm
not looking forward to rebuilding all libraries with XS code so any
insight as to the ins and outs of
On Sun, 20 Aug 2000, Angela Focazio wrote:
It seems very inefficient on memory to have each child process forms
its own cache, so I was interested in creating a centralized cache that
all of the child processes could dip into (actually forming a module
that allows for I/O control of a
101 - 154 of 154 matches
Mail list logo