Sections section of the guide? After all, the
guide already mentions something very similar to this.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
--
-- ICQ: 113526784, AOL, Yahoo, MSN and Jabber: tmornini
On Thursday, August 15, 2002, at 07:47 PM, Stas Bekman wrote:
Tom Mornini wrote:
Perhaps it's obvious but after years of mod_perl, I was blocked,
probably because using this basic Perl ability is frowned upon in
mod_perl due to performance issues. Of course, during startup,
performance
terpreter creation.
However, I cannot figure out how to do this in Perl> sections! Apache->Request returns undef (reasonably so, as there is no current request)
So, the question is this: How to get the equivalent of $r->subprocess_env from within a Perl> section?
--
-- Tom Mornini
.
When I saw my reply come back on the list, I was very surprised.
I apologize for making such a silly mistake. I agree that posting my
response to the list was severely off topic and completely inappropriate.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
--
-- ICQ: 113526784, AOL, Yahoo
d that way. :-)
Pay and benefits are good, though it's no longer 1998. :-) Best benefit
is working with a small group of people that are highly motivated by
doing it right.
--
-- Tom Mornini
-- eWingz Systems, Inc.
--
-- ICQ: 113526784, AOL, Yahoo, MSN and Jabber: tmornini
world and don't accept just the best you can find in your area, and you'll find that you solutions aren't also as limited...
-Zac Morris
- Original Message -
From: Tom Mornini
To: [EMAIL PROTECTED]
Sent: Thursday, June 20, 2002 11:30 PM
Subject: [JOB] Crack OOP Perl whitebox tester wanted
W
.
This proved a good strategy when we decided to implement a SOAP
interface to some of our functionality. We made some new glue code in
CompanyName::SOAP::page1 that was based on SOAP::Lite and it was just as
easy as it should be, with 100% code reuse.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
a recursive query.
Vanilla SQL, perhaps, but not Oracle's flavor!
CONNECT BY PRIOR :-)
--
-- Tom Mornini
-- eWingz Systems, Inc.
--
-- ICQ: 113526784, AOL: tmornini, Yahoo: tmornini, MSN: tmornini
nasty solution (lots of errors in the log files,
otherwise worked OK) so we instead used good old mod_log_config and
piped the output to a Perl program that spreads the logs.
--
-- Tom Mornini
-- InfoMania Printing Prepress
On Wednesday, October 24, 2001, at 06:38 PM, Carolyn wrote:
On Wed, Oct 24, 2001 at 03:01:25AM -0700, Tom Mornini wrote:
in httpd.conf:
1 Perl
2$ErrorLog =
|/home/tmornini/Source/ewingz/bin/spread_from_stdin.pl
ERROR;
3 /Perl
4 ErrorLog |/home/tmornini/Source/ewingz/bin
On Wednesday, October 24, 2001, at 07:25 PM, Carolyn Hicks wrote:
On Wed, Oct 24, 2001 at 06:52:13PM -0700, Tom Mornini wrote:
I don't believe that single quotes -vs- double quotes would make a
difference. Both things end up a single scalar, and I seriously doubt
that Apache can tell
On Wednesday, October 24, 2001, at 11:38 AM, Scott Lanning wrote:
On Wed, 24 Oct 2001, Tom Mornini wrote:
1 Perl
2$ErrorLog =
|/home/tmornini/Source/ewingz/bin/spread_from_stdin.pl ERROR;
3 /Perl
4 ErrorLog |/home/tmornini/Source/ewingz/bin/spread_from_stdin.pl
ERROR
[snip
server-info:
Apache Server Information
Server Settings, mod_perl.c, mod_log_spread.c, mod_access.c,
mod_rewrite.c, mod_info.c, mod_status.c, mod_mime.c, http_core.c
OHHorizontalRule.pdf
Server Version: Apache/1.3.20 (Unix) mod_perl/1.26
--
-- Tom Mornini
-- InfoMania Printing Prepress
of the
world where free markets and capitalism did not exist?
Perhaps in socialistic colleges in the U.S.? :-)
--
-- Tom Mornini
-- InfoMania Printing Prepress
, mod_log_spread.c, mod_access.c, mod_rewrite.c, mod_info.c,
mod_status.c, mod_mime.c, http_core.c
Linux version 2.4.2-2 ([EMAIL PROTECTED]) (gcc version 2.96
2731 (Red Hat Linux 7.1 2.96-79)) #1 Sun Apr 8 20:41:30 EDT 2001
-- Tom Mornini
-- eWingz Systems, Inc.
-- ICQ 113526784
! Just store the results in your session, and display from there...
--
-- Tom Mornini
-- ICQ 113526784
On Thursday, August 2, 2001, at 03:00 PM, Robert Landrum wrote:
Sweet...
I was getting kinda tired of my Linux box going down on me.
You must be thinking Windows!
--
-- Tom Mornini
-- ICQ 113526784
) in EVERY OS BOX
CVS, SSH, Apache, Perl, etc. in EVERY OS BOX
Nothing yuk about Apple anymore, at least on the software/OS side of
the house!
Apple = NeXT ! Thank God!
Hell, in 15 or 20 years, this OS could be as enlightened as Linux. :-)
--
-- Tom Mornini
-- ICQ 113526784
.
There is always more then one way to do it, and there's usually more
then
one right way to do it. Let's keep that in mind.
Agreed. However, Perl + HTML + SQL isn't one of the right ways! :-)
--
-- Tom Mornini
-- ICQ 113526784
, however,
so telecommuting is definitely an option.
Pay and benefits are good, though it's no longer 1998. :-) Best benefit
is working with a small group of people that are highly motivated by
doing it right.
--
-- Tom Mornini
-- eWingz Systems, Inc.
-- ICQ 113526784
anything, but you'll never get the memory back
until the child dies.
It will run fast, however. :-)
--
-- Tom Mornini
-- InfoMania Printing and Prepress
@$upper_id, $row[0];', but no biggie.
No biggie certainly.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
Tenon Systems has a current version of Apache with complete GUI
administration engine at http://www.tenon.com/products/itools-osx/
This is a commercial product...
On Friday, April 27, 2001, at 10:16 PM, Charlie Garrison wrote:
G'day,
I am trying to install mod perl on the Apple OS X Server
load
balanced group of systems.
On Sunday, April 8, 2001, at 02:52 AM, Per Einar wrote:
--
-- Tom Mornini
-- ICQ 113526784
On Sunday, April 8, 2001, at 04:16 PM, Ask Bjoern Hansen wrote:
On Sun, 8 Apr 2001, Tom Mornini wrote:
I don't understand why anyone would do anything else than just
forking to qmail-inject.
At least on Linux and FreeBSD that goes reasonably fast (you're not
sending hundreds and hundreds
Hmmm. What was the date that this was announced? :-)
On Monday, April 2, 2001, at 06:48 AM, Rod Butcher wrote:
Does this mean Perl 6 is dogmeat ?
Rod
On Monday 02 April 2001 12:20, Bill Moseley wrote:
I assume everyone saw this... ;)
http://www.oreilly.com/parrot/
Bill Moseley
, just try it!
warn 'This is BEFORE the exit statement';
exit;
warn 'This is AFTER the exit statement';
On my systems I see only the 1st line...
--
-- Tom Mornini
-- InfoMania Printing and Prepress
event of a timeout.
It didn't work out that way! :-) I now run 300 seconds on the front-ends
and 400 on the back-ends, and Apache-read timeouts no longer cause
problems.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
scripts
thereafter.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
make the back-end even heavier.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
uot;);
$sth-execute();
# show the records of the table
while(@table=$sth-fetchrow_array()) {
print "tr";
foreach my $data (@table) {
print "td width=150 align=center",$data,"/td";
}
print "/tr";
}
$sth-fin
return;
}
It is my understanding of the DBI docs that you only need to call
$sth-finish when you DON'T fetch all the rows that the $sth has ready to
return.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
use vars qw ( $query );
to define a package global?
--
-- Tom Mornini
-- InfoMania Printing and Prepress
Francisco, California. Relocation and
H1B Visas are OK.
Please reply to [EMAIL PROTECTED] :-)
--
-- Tom Mornini
-- InfoMania Printing and Prepress
ends.
Run vmstat on the server during the testing and see if it starts swapping.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
On Thu, 22 Jun 2000, Jeff Macdonald wrote:
My thinking is that $error would contain the error recorded in the
error_log file.
Instead $error is empty. Any thoughts?
This works in very current versions of mod_perl. What are you running?
--
-- Tom Mornini
-- InfoMania Printing and Prepress
On Fri, 23 Jun 2000, Jeff Macdonald wrote:
Tom Mornini wrote:
On Thu, 22 Jun 2000, Jeff Macdonald wrote:
My thinking is that $error would contain the error recorded in the
error_log file.
Instead $error is empty. Any thoughts?
This works in very current versions
only once. $r-read doesn't mention this, but
when I use it, the rest of the site won't operate, handing in the created
of a new Apache::Request object.
Any ideas?
--
-- Tom Mornini
-- InfoMania Printing and Prepress
type = ap_table_get(r-headers_in, "Content-Type");
! if (!strstr(type, DEFAULT_ENCTYPE)) {
return DECLINED;
}
if ((rc = util_read(req, data)) != OK) {
--
-- Tom Mornini
-- InfoMania Printing and Prepress
and/or helpful in any way?
--
-- Tom Mornini
-- InfoMania Printing and Prepress
your session in $r-notes('SESSION' = $session).
You would log it as %{SESSION}n
This saved me from writing my own log handler. :-)
--
-- Tom Mornini
-- InfoMania Printing and Prepress
e/gif
But IE5 still caches the damn things! Does anyone have a suggestion?
Please note that I don't have the ability to modify the IMG SRC
dynamically since the HTML resides on our customers' servers.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
'?foo=bar' to the end of it, and return it as a redirect. That way not
even MSIE will cache it.
Though you walk the Earth, you may indeed be a God! Thank you very much.
I wish I would have thought of this myself.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
h anything else under similar loads.
Let me ask you a question: Are you really going to be able to handle
20,000 simultaneous users within a minute (perhaps 60,000 to 80,000
apache requests if only a single page view per user)?
--
-- Tom Mornini
-- InfoMania Printing and Prepress
the users with cookies a
more robust inter-session experience.
This way the site works for everyone, but works better for people with
cookies.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
that reads $r-pnotes and
$r-set_handlers() in the redirect handler into the response phase.
The cool thing about this is that relative links need not be rewritten at
all, the browser handles it!
--
-- Tom Mornini
-- InfoMania Printing and Prepress
of this method that we know of, but we
feel that it is far outweighed by having session support on 100% of our
connections.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
.
Does the site revert to cookie based sessions if the sessionID is
chopped off? What is the purpose of chopping off the sessionID?
Prettier bookmarks?
Why would it? It just starts a new session and prime the pump again...
--
-- Tom Mornini
-- InfoMania Printing and Prepress
s complete, and many multi-level complex
data structures at whim.
Limiting yourself to cookie size limitation would be a real drag.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
::DBI.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
you know about the front-end proxy/back-end mod_perl configuration?
-- Tom Mornini
-- InfoMania Printing and Prepress
saved it $@{ $r-uri }, which was introduced before apache
started saving errors in $r-notes('error-notes')
Ah, darn! Your solution is MUCH better than mine. :-)
I'm going to have to work harder at getting on that credits list, it would
seem!
--
-- Tom Mornini
-- InfoMania Printing and Prepress
On Wed, 12 Apr 2000, Ask Bjoern Hansen wrote:
On Wed, 12 Apr 2000, Tom Mornini wrote:
[...]
I'm going to have to work harder at getting on that credits list, it would
seem!
Nah. Doug didn't commit it yet so except if it was because he didn't want
it and will back it out again
SERVER_ERROR unless $Debug $Debug 2;
return Apache::Debug::dump($r, SERVER_ERROR);
--
-- Tom Mornini
-- InfoMania Printing and Prepress
servers on the front-ends).
mod_rewrite handles proxying the dynamic requests and apparently mod_proxy
automatically adds the correct headers for name-based virtual hosts on the
back end.
This all takes a while to setup, but it works flawlessly once it is done.
--
-- Tom Mornini
-- InfoMania
}
if($errsv) {
+ $r-notes('error-notes' = $errsv);
$r-log_error($errsv);
return SERVER_ERROR unless $Debug $Debug 2;
return Apache::Debug::dump($r, SERVER_ERROR);
--
-- Tom Mornini
-- InfoMania Printing and Prepress
--- 153,159
}
if($errsv) {
+ $r-notes('error-notes' = $errsv);
$r-log_error($errsv);
return SERVER_ERROR unless $Debug $Debug 2;
return Apache::Debug::dump($r, SERVER_ERROR);
--
-- Tom Mornini
-- InfoMania Printing
of software that I've seen for Sun systems
are hostid protected.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
reference)
that $r-internal_redirect() should only be called from a Content Handler.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
a similar experience?
Your scripts are probably using mod_perl, and not very happily.
Run the old stuff as straight CGI, or using Apache::PerlRun instead.
I would probably try Apache::PerlRun first, and if that didn't work,
revert back to CGI.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
On Thu, 3 Feb 2000, Vivek Khera wrote:
"TM" == Tom Mornini [EMAIL PROTECTED] writes:
TM 2) Better scalability. I've head (but never benchmarked) that SSL in
TMgeneral is 100 times more processor intensive than non-ssl connections.
TMI want my mod_perl server runnin
On Thu, 3 Feb 2000, Vivek Khera wrote:
"TM" == Tom Mornini [EMAIL PROTECTED] writes:
If you have a high volume site that uses SSL, you should really be
offloading the SSL processing to dedicated cryptography hardware.
TM A fairly new option, I believe, and an excel
it. Or just find something else that you do like. Perhaps you'll find
that other systems are better suited to what you do. Perhaps not, and
you'll end up back here again. I'm sure that would be fine with anyone on
the list.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
le to debug! :-)
So, sometimes you WANT to have different connections, which is how we
solved this problem.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
On Thu, 9 Dec 1999, Joao Fonseca wrote:
I'm having problems migrating a site to mod_perl,
using the Apache::Registry module.
Try Apache::PerlRun instead. It's better for quick ports of old CGIs.
--
-- Tom Mornini
-- InfoMania Printing and Prepress
be added to the guide or something. The failure
message you get is the compile failed the sanity check, with no mention of
libgdbm at all. It's pretty wacky!
--
-- Tom Mornini
-- InfoMania Printing and Prepress
and operating various combinations and feel
that 2.6 is more stable, though they have not run 2.6 in their shop yet,
but know that stable 2.6 boxes do exist.
Obviously any problem could be a configuration/setup issue, and that is
what I feel their issue was. Am I wrong?
--
-- Tom Mornini
-- InfoMania
67 matches
Mail list logo