SOLVED: How to access base environment from Perl sections

2002-08-15 Thread Tom Mornini
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

Re: SOLVED: How to access base environment from Perl sections

2002-08-15 Thread Tom Mornini
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

Perl sections and Apache-request-subprocess_env

2002-08-14 Thread Tom Mornini
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

OT Job discussion, was Re: [JOB] Crack OOP Perl whitebox tester wanted

2002-06-22 Thread 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

[JOB] Crack OOP Perl whitebox tester wanted

2002-06-21 Thread Tom Mornini
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

Knowing your limitation - was Re: [JOB] Crack OOP Perl whitebox tester wanted

2002-06-21 Thread Tom Mornini
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

Re: CGI::Application

2002-06-16 Thread Tom Mornini
. 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

Re: modperl and SQL db select

2002-03-21 Thread Tom Mornini
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

Re: load balancing on apache

2001-12-14 Thread Tom Mornini
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

Re: Odd problem with Perl sections

2001-10-25 Thread Tom Mornini
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

Re: Odd problem with Perl sections

2001-10-25 Thread Tom Mornini
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

Re: Odd problem with Perl sections

2001-10-25 Thread Tom Mornini
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

Odd problem with Perl sections

2001-10-24 Thread Tom Mornini
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

The DEFINITIVE answer to: How much should I charge?

2001-10-10 Thread Tom Mornini
of the world where free markets and capitalism did not exist? Perhaps in socialistic colleges in the U.S.? :-) -- -- Tom Mornini -- InfoMania Printing Prepress

Environment variables and mod_perl

2001-08-28 Thread Tom Mornini
, 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

Re: Just while we are so nicely [OT]: SQL Search Results in pages

2001-08-03 Thread Tom Mornini
! Just store the results in your session, and display from there... -- -- Tom Mornini -- ICQ 113526784

Re: dbi abstraction layer on perlmonks

2001-08-03 Thread Tom Mornini
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

Apple not yukky aymore: was [OT] Inspired by closing comments from the UBB thread.

2001-08-01 Thread Tom Mornini
) 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

Re: [VERY OT] Inspired by closing comments from the UBB thread.

2001-08-01 Thread Tom Mornini
. 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

JOB: White box tester/developer

2001-07-12 Thread Tom Mornini
, 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

Re: undef an array

2001-06-01 Thread Tom Mornini
anything, but you'll never get the memory back until the child dies. It will run fast, however. :-) -- -- Tom Mornini -- InfoMania Printing and Prepress

Re: undef an array

2001-06-01 Thread Tom Mornini
@$upper_id, $row[0];', but no biggie. No biggie certainly. -- -- Tom Mornini -- InfoMania Printing and Prepress

Re: HELP??? Installation on MAC OS X

2001-04-29 Thread Tom Mornini
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

Re: Sendmail or not?

2001-04-08 Thread Tom Mornini
load balanced group of systems. On Sunday, April 8, 2001, at 02:52 AM, Per Einar wrote: -- -- Tom Mornini -- ICQ 113526784

Re: Sendmail or not?

2001-04-08 Thread Tom Mornini
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

Re: mod_parrot

2001-04-02 Thread Tom Mornini
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

Re: unreleased sockets using DBI / DBD::mysql under mod_perl?

2001-03-15 Thread Tom Mornini
, 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

RE: Apache-read timed out

2001-02-15 Thread Tom Mornini
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

Re: mod_perl and dbi:Oracle

2001-01-16 Thread Tom Mornini
scripts thereafter. -- -- Tom Mornini -- InfoMania Printing and Prepress

Re: Replacing mod_prewrite with a PerlTransHandler

2000-11-16 Thread Tom Mornini
make the back-end even heavier. -- -- Tom Mornini -- InfoMania Printing and Prepress

Re: Help! About DBI in mod_perl!

2000-09-13 Thread Tom Mornini
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

RE: Question about $sth-finish;

2000-08-15 Thread Tom Mornini
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

RE: Problem with form data using mod_perl and CGI.pm

2000-08-14 Thread Tom Mornini
use vars qw ( $query ); to define a package global? -- -- Tom Mornini -- InfoMania Printing and Prepress

[OT] [JOB] mod_perl coders welcome at Quios

2000-08-10 Thread Tom Mornini
Francisco, California. Relocation and H1B Visas are OK. Please reply to [EMAIL PROTECTED] :-) -- -- Tom Mornini -- InfoMania Printing and Prepress

Re: AB error - WARNING: Response code not 2xx (403)

2000-07-21 Thread Tom Mornini
ends. Run vmstat on the server during the testing and see if it starts swapping. -- -- Tom Mornini -- InfoMania Printing and Prepress

Re: ErrorDocument, logging and error-notes question

2000-06-23 Thread Tom Mornini
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

Re: ErrorDocument, logging and error-notes question

2000-06-23 Thread Tom Mornini
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

How to log post and put contents?

2000-06-21 Thread Tom Mornini
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

A patch for Apache::Request

2000-06-16 Thread Tom Mornini
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

RE: Apache::Dispatch

2000-06-06 Thread Tom Mornini
and/or helpful in any way? -- -- Tom Mornini -- InfoMania Printing and Prepress

Re: URL rewriting logging

2000-05-26 Thread Tom Mornini
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

Cache control

2000-05-26 Thread Tom Mornini
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

Re: Cache control

2000-05-26 Thread Tom Mornini
'?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

Re: speed up/load balancing of session-based sites

2000-05-09 Thread Tom Mornini
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

Re: 100% sessions?

2000-05-09 Thread Tom Mornini
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

Re: 100% sessions?

2000-05-09 Thread Tom Mornini
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

Re: 100% sessions?

2000-05-09 Thread Tom Mornini
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

Re: 100% sessions?

2000-05-09 Thread Tom Mornini
. 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

Re: speed up/load balancing of session-based sites

2000-05-08 Thread Tom Mornini
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

Re: Apache::DBI disconnect?

2000-04-25 Thread Tom Mornini
::DBI. -- -- Tom Mornini -- InfoMania Printing and Prepress

Re: Modperl/Apache deficiencies... Memory usage.

2000-04-15 Thread Tom Mornini
you know about the front-end proxy/back-end mod_perl configuration? -- Tom Mornini -- InfoMania Printing and Prepress

Re: A better patch for Registry.pm

2000-04-12 Thread Tom Mornini
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

Re: A better patch for Registry.pm

2000-04-12 Thread Tom Mornini
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

A path for Registry.pm (Against v1.22)

2000-04-10 Thread Tom Mornini
SERVER_ERROR unless $Debug $Debug 2; return Apache::Debug::dump($r, SERVER_ERROR); -- -- Tom Mornini -- InfoMania Printing and Prepress

Re: front end proxy and virtual hosts

2000-04-10 Thread Tom Mornini
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

A patch for Registry.pm (Against v1.22) (fwd)

2000-04-10 Thread Tom Mornini
} 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

A better patch for Registry.pm

2000-04-10 Thread Tom Mornini
--- 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

Re: Site unique MAC secret

2000-02-09 Thread Tom Mornini
of software that I've seen for Sun systems are hostid protected. -- -- Tom Mornini -- InfoMania Printing and Prepress

Re: coderef as arg to $r-custom_response(...)

2000-02-09 Thread Tom Mornini
reference) that $r-internal_redirect() should only be called from a Content Handler. -- -- Tom Mornini -- InfoMania Printing and Prepress

Re: mod_perl incompatibility with site control panel?

2000-02-08 Thread Tom Mornini
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

Re: Why I think mod_ssl should be in front-end

2000-02-03 Thread Tom Mornini
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

Re: Why I think mod_ssl should be in front-end

2000-02-03 Thread Tom Mornini
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

Re: modperl success story

2000-01-14 Thread Tom Mornini
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

Re: Managing session state over multiple servers

1999-12-16 Thread Tom Mornini
le to debug! :-) So, sometimes you WANT to have different connections, which is how we solved this problem. -- -- Tom Mornini -- InfoMania Printing and Prepress

Re: FindBin/Apache::Registry bug

1999-12-09 Thread Tom Mornini
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

Re: Fix for Redhat(?) bug in mod_perl install

1999-12-05 Thread Tom Mornini
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

mod_perl on Solaris 7

1999-12-03 Thread Tom Mornini
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