Re: Advice needed. (web app. performance)

2001-01-29 Thread Robert Landrum
Wasn't ispell ported to the PPT? If so, you could rip the source from the perl power tools library and eliminate the external call to ispell completely. This doesn't povide any forking or server stuff, but I've found that solutions like that are rarely needed. At 1:34 PM -0700 1/29/01, John

Runaways

2001-01-29 Thread Robert Landrum
that it will change $0 to whatever the current package name, but I don't know that this will translate back to mod perl correctly, as $0 is the name of the configuration from within mod perl. Has anyone had to deal with this sort of problem in the past? Robert Landrum

Re: Runaways

2001-01-29 Thread Robert Landrum
a more sophisticated solution to tracing runaway processes to their source. If not, I'll have to write some internal stuff to do the job... Robert Landrum Yes, I've seen this happen often, maybe once a day on a relatively heavily used site running mod_perl, where a child process goes into

Re: Runaways

2001-01-29 Thread Robert Landrum
$pid") whenever that size reached a certain threshold (in this case 55MB). What's dumped are the environment variables which contain the URL information so that the problem can (in theory) be reproduced. Robert Landrum

Re: Passing data among handlers

2001-01-30 Thread Robert Landrum
I've never tried this, but you could store things into main using one handler and retrieve them with another, provided that you cleaned up afterward. If, for any reason you failed to cleanup, the server would leak memory... not that it doesn't already. Robert Landrum Paul J. Lucas ([EMAIL

Re: Repost: Anyone using virtual server for mod_perl hosts?

2001-01-30 Thread Robert Landrum
On a visit to Alaska (the Perl Whirl) we visited the Alaska Department of Technology or something similar (I honestly don't remember) where they were running an IBM S390 with partitions for NT, Linux, and a few other operating systems. The S390 appearently runs some type of software that

Re: Runaways

2001-01-31 Thread Robert Landrum
the problem was, but removing the use Carp; and the calls to carp and croak stopped the core dumps. Has anyone else had problems with the Carp module and mod_perl? Robert Landrum At 8:49 AM -0800 1/31/01, Doug MacEachern wrote: On Mon, 29 Jan 2001, Robert Landrum wrote: I have yet to solve

RE: [OT] Dynamically changing current package

2001-02-01 Thread Robert Landrum
tually tried any of this, I'm just spitting out some ideas... Robert Landrum At 12:34 PM -0500 2/1/01, [EMAIL PROTECTED] wrote: Andrew Ho [EMAIL PROTECTED] wrote: I know how to use "package" in the normal case, where it's static. However, you can't say "package $foo" o

RE: [OT] Dynamically changing current package

2001-02-02 Thread Robert Landrum
the the subroutines to be redefined and the scalars to be references... I wonder if this is a problem with perl? Robert Landrum --- results --- # perl n.pl 1 NewPackage::x was defined NewPackage::june was defined $NewPackage::x was set to 100 $Test::x now contains 100 Now Deleting Test

Re: Doh; StatINC can't find files?

2001-02-05 Thread Robert Landrum
wm looks like a home directory. The default perms on the home directory are usually 700. Try changing that to something like 755 or even 744 (it may not need execute). Robert Landrum Hi folks, Maybe I'm just rusty after 8 months off, but my StatINC can't find files that exist

RE: Doh; StatINC can't find files?

2001-02-06 Thread Robert Landrum
the user change into that directory. Robert Landrum At 10:49 AM -0800 2/6/01, Rob Bloodgood wrote: wm looks like a home directory. The default perms on the home directory are usually 700. Try changing that to something like 755 or even 744 (it may not need execute). Actually, the x bit

Re: Problem with $r-register_cleanup()

2001-02-07 Thread Robert Landrum
Is it possible that another handler (such as CGI, or parsed-html) is taking over before yours and exiting or returning OK. Rob Hi, I just ran into a problem with $r-register_cleanup() only sometime beeing called. This is mod_perl 1.24_01, perl 5.6.0, apache 1.3.14 compiled with gcc 5.6.0 on

[OT] Mailing List Software

2001-02-07 Thread Robert Landrum
I've been looking for some mailing list software that is manageable from mod_perl I need something capable of writing data to a database (Oracle) and creating sublists/queries from main lists of over 250,000 users. If you've seen or heard about such software, please let me know... Thanks,

Re: Send a cookie, AND a redirect ?

2001-02-08 Thread Robert Landrum
The problem is that Apache does not put the "Set-Cookie" before the "Location" when generating headers. To fix this, you need to build the header yourself. I've found that this works with Netscape and IE, but with IE, the place where you redirect to does not have access to the cookie that

Re: Redirection Location MUST be absolute (was Re: Send a cookie,AND a redirect ?)

2001-02-08 Thread Robert Landrum
cation/\n\n"; or #!/usr/bin/perl print "Location: http://somehost.com/some/location/\n\n"; Robert Landrum On Thu, 8 Feb 2001, Robert Landrum wrote: The problem is that Apache does not put the "Set-Cookie" before the "Location" when generating headers.

Re: Redirection Location MUST be absolute (was Re: Send a cookie, AND a redirect ?)

2001-02-08 Thread Robert Landrum
If the W3 wants to document it incorrectly or change the unofficial standard, then they are wasting their time. Rob On Thu, 8 Feb 2001, Robert Landrum wrote: If all browsers followed the W3 standards the world would be a better place... They say "...field value consists of a sing

Re: Redirection Location MUST be absolute (was Re: Send a cookie,AND a redirect ?)

2001-02-08 Thread Robert Landrum
. But I definitly understand why you say *NEVER*. Rob "Robert" == Robert Landrum [EMAIL PROTECTED] writes: Robert By using relative *URLs* such as /some/location, you avoid changing Robert the location field in the browser window, which is often desired. If Robert you use an abs

[OT] Re: apachecon: BOF?

2001-02-14 Thread Robert Landrum
At the risk of sounding ignorant, what is BOF? Rob I wouldn't mind a mod_perl beer-BOF like the one we had at the last night of ApacheCon Europe -- "Only two things are infinite: The universe, and human stupidity. And I'm not sure about the former." --Albert Einstein

Re: Is *anybody* running perl 5.6, modperl_1.25, apache_1.3.17 PHP4.0.4pl1 OK ?

2001-02-14 Thread Robert Landrum
the LD_LIBRARY_PATH to the correct path fixes the error. Robert Landrum Matt Sergeant wrote: On Wed, 14 Feb 2001, tim fulcher wrote: Hi finally build PHP4 as ./configure --with-apxs=/export/tools/apache/bin/apxs --prefix=/export/tools --with-ldap --disable-xml \ --with-sablot=/export

Re: cron for mod_perl?

2001-02-14 Thread Robert Landrum
to implement, I think we've just about exhausted the possibilities for a scheduler within mod_perl/apache. Robert Landrum -- "Only two things are infinite: The universe, and human stupidity. And I'm not sure about the former." --Albert Einstein

htaccess files and modules

2001-02-20 Thread Robert Landrum
greatly appreciate it. Thanks, Robert Landrum -- "Only two things are infinite: The universe, and human stupidity. And I'm not sure about the former." --Albert Einstein

Re: apache question...

2001-03-01 Thread Robert Landrum
RedirectMatch ^/index.html http://new.server.com/index.html Rob At 8:33 PM -0700 2/28/01, Joseph Crotty wrote: I am set up on apache_1.3.14/mod_perl currently, however, have an older non-mod_perl apache_1.3.6. The old apache's index.html needs to redirect to the index.html on the new

RE: push_handlers question

2001-03-05 Thread Robert Landrum
. for normal method handlers, $self = shift; $r = shift; Couldn't you fake it? $r-push_handlers( PerlHandler = sub{ unshift @_, Apache-request; goto real_handler; } ); Robert Landrum [snip] -- "Will hack Perl for food."

Re: 1 Billion Bug 1BB - [OT] UNIX timestamp hits 1,000,000,000 thisyear!

2001-03-09 Thread Robert Landrum
I can see the headlines now "New Miracle Drug to Extend Life by 310 Years" It's those exact same thoughts that got us in to trouble in 2000. Oh well Rob At 11:04 AM -0500 3/9/01, Bill Desjardins wrote: On Fri, 9 Mar 2001, Gerd Kortemeyer wrote: I will open my consulting business on

Error Pages

2001-03-13 Thread Robert Landrum
ser rather than redirect to the bad.pl script? Thanks, Robert Landrum -- Warning: The contents of this message are made of bits which may or may not be an accurate representation of my thoughts.

Re: to clarify (getting what was printed in PerlHandler)

2001-03-13 Thread Robert Landrum
for into pnotes to be used in the post-handler. Just a thought... Robert Landrum It's not really as plug and play as I was looking for.. I'm surprised that theres no built in functionality to allow any of the post-handler phases to be able to retreive what was dumped out... oh well.. - Original

Re: [OT] ApacheCon BOF

2001-03-19 Thread Robert Landrum
At 3:59 PM -0500 3/19/01, Paul Cotter wrote: From: "Geoffrey Young" [EMAIL PROTECTED] What I don't have are any ideas for a shirt theme. The sponsor will be taking care of all the graphics work required - just your mental capital is needed. For the logo: I considered and Apache with 4

Re: [OT]Re: my()speed (was: [DIGEST] mod_perl digest 03/17/01)

2001-03-20 Thread Robert Landrum
At 11:27 AM +0800 3/20/01, Stas Bekman wrote: On Mon, 19 Mar 2001, Paul wrote: --- Geoffrey Young [EMAIL PROTECTED] wrote: mod_perl digest March 11, 2001 - March 17, 2001 Recent happenings in the mod_perl world... . . . mailing list

[OT] FileHandle and forking

2001-03-20 Thread Robert Landrum
I've encounted what I believe to be an error in either a) FileHandle.pm, b) Perl, or c) Linux 2.2.17. I'm writing a bulkmailer (for legitimate resons). I dump all the emails to a file sorted by domain. My parent process begins reading the file and forks a "domain processor" whenever it

Odd Can't locate errors

2001-03-29 Thread Robert Landrum
Every once in a while (once a week maybe), I get a string of error reports about the following problem Can't locate auto/CapWiz/Mail/App/handler.al in @INC (@INC contains: /usr/local/apache/lib /usr/local/lib/perl5/5.6.0/i686-linux /usr/local/lib/perl5/5.6.0

Re: Odd Can't locate errors

2001-03-29 Thread Robert Landrum
At 9:37 PM +0100 3/29/01, G.W. Haywood wrote: Hi there, On Thu, 29 Mar 2001, Robert Landrum wrote: (once a week maybe), I get a string of error reports [snip] Can't locate auto/CapWiz/Mail/App/handler.al in @INC [snip] This puzzles me... at /dev/null line 0 Are you getting segfaults

Re: Long waits on SQL Stored Procs. Should I use chained contenthandlers?

2001-04-03 Thread Robert Landrum
At 2:06 PM + 4/2/01, [EMAIL PROTECTED] wrote: I need to run some stored procedures that take upwards of a minute to generate result sets. Ok, thats grand but I dont want the browser to sit there and twiddle. I'd like to display an animated gif. Simple. Right? I hope. I'm looking into

Re: Fast DB access

2001-04-18 Thread Robert Landrum
At 3:43 PM -0700 4/18/01, Perrin Harkins wrote: "Chutzpah" is an interesting way of putting it. I've been thinking of them as "slimeballs in the busy of conning webkids into thinking they have a real RDBM product". (It isn't a moot point, because it's the same people working on it: human

Re: forbidden vs. cookie

2001-04-30 Thread Robert Landrum
i could really use some dumbed-down tips on setting cookies during a redirect. boy, this is really getting to me. using apache 1.3.9 on debian 2.2/potato in trying to implement the concept of the Apache::Ticket*.pm modules from the Apache Modules (eagle) book in chapter 6 (on pages 304+) i'm

Re: forbidden vs. cookie

2001-04-30 Thread Robert Landrum
On Mon, Apr 30, 2001 at 03:46:03PM -0400, Geoffrey Young wrote: From: will trillich [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 3:31 PM To: [EMAIL PROTECTED] Subject: forbidden vs. cookie [snip] # this don't work so hot, neither:

Re: Apache Processes hanging

2001-05-03 Thread Robert Landrum
At 10:37 AM -0400 5/3/01, Kevin Slean wrote: Mod_perlers, I have a problem with Apache and was looking for your thoughts on my problem or some additional mailing lists more focused on just Apache. I have 70 httpd daemons running and some of them just appear to hang. As time goes by, the number

Re: mod_perl and 700k files...

2001-05-09 Thread Robert Landrum
At 3:51 PM -0400 5/9/01, Morbus Iff wrote: ** The 700k file is an XML file, read in by XML::Simple. XML::Simple can cache that file into memory. Is this how I should do it? Or should I load the file from my startup.pl script so that the file is shared amongst all the apache children? If that's

Re: Apache Oracle and Perl

2001-05-10 Thread Robert Landrum
At 8:34 AM -0400 5/10/01, Harnish, Joe wrote: When I start getting this error, I can shutdown the httpd server, and the machine and it will still give this error. If I wait a while(sometimes hours, sometimes days) it will come back. Sometimes it is a few hours. Sometimes it is days. I have

Re: Real Widgets and Template Languages

2001-05-29 Thread Robert Landrum
displayed it? Under the Xwindow system, widgets are drawn and then shown, IIRC... print First Name: , $widget-draw(),\n; Robert Landrum -- As soon as you make something foolproof, someone will create a better fool.

Re: Real Widgets and Template Languages

2001-05-31 Thread Robert Landrum
At 10:51 PM +0800 5/31/01, Gunther Birznieks wrote: At 11:02 AM 5/29/01 -0400, Robert Landrum wrote: At 9:53 PM +0800 5/29/01, Gunther Birznieks wrote: At 05:17 PM 5/28/01 -0400, Stephen Adkins wrote: [snip] shark:/usr/ov/acoc/dev/src/Widget/examples more Widget.xml Widget.2

Re: simple question

2001-06-22 Thread Robert Landrum
This might help, in you httpd.conf file set this PerlSendHeader Off Tor. That messes up all the standard responses. I have a work around now -- naturally it came to me moments after I posted don't know if this is correct so to speak, but it works fine. open(F,$file) || return 404;

Re: Perl ignored (again) by InfoWorld

2001-07-02 Thread Robert Landrum
At 12:44 PM -0700 7/2/01, Sean Chittenden wrote: The fact is, Perl is a lot more mature than even Java, and is more prolific a language than any other for sophisticated web application development. I would really like to see you inject an honest discussion of Perl into your series on web

Re: Apache::SimpleTemplate (don't do it!)

2001-07-08 Thread Robert Landrum
of coding, learning, debugging, upgrading, adding new features, and maintaining than you could possibly hope to account for when writing a Simple templating system. I hope this helps answer any questions about why you should not write your own templating system. Robert Landrum

Re: Apache::SimpleTemplate (don't do it!)

2001-07-09 Thread Robert Landrum
shouldn't just look at what already exists and strip out the stuff you feel isn't important. If you really want to help, you should consider contributing to existing templating systems to find the happy medium you're looking for. Robert Landrum -- A good magician never reveals his secret

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

2001-08-01 Thread Robert Landrum
All, In his closing comments about UBB Kyle Dawkins made a statement that got me wondering. He said there's SQL embedded all throughout the Perl everywhere (who does this?! oh my god, are they on crack?). This comment got me wondering about alternatives to embedding SQL in to the code of a

Re: What counts as a real DBMS?

2001-08-01 Thread Robert Landrum
At 4:27 PM -0400 8/1/01, Philip Mak wrote: On Wed, 1 Aug 2001, Henrik Edlund wrote: And while we are discussing not cutting corners, those who still use MySQL should switch to a real DBMS before they even think of abstracting the SQL away from their Perl code. That people still use MySQL

Re: dbi abstraction layer on perlmonks

2001-08-02 Thread Robert Landrum
At 2:32 PM -0700 8/2/01, brian moseley wrote: for the next perl conference i'm writing a do everything abstraction layer. it will provide a do_stuff routine that will, out of the box, do your laundry and perform oral sex. scalable, robust, state of the art technology for e-businesses. Sweet...

Re: Apache::DBI Oracle LOB problem

2001-08-02 Thread Robert Landrum
At 2:15 AM +0100 8/2/01, Tim Bunce wrote: On Mon, Jul 30, 2001 at 04:57:09PM -0400, Steven Schmidt wrote: The following problem came up in porting EnsEMBL to Oracle: Level 9 DBI trace: OCIStmtExecute(62c0ec,6363d0,62c310,0,0,0,0,0)=SUCCESS

Re: Help with cookies

2001-08-08 Thread Robert Landrum
thought DECLINED was the correct status code. Then the last module (in this case MIS_APPS::RHS::Control::Scan) would return OK. Robert Landrum -- A good magician never reveals his secret; the unbelievable trick becomes simple and obvious once it is explained. So too with UNIX.

Re: Apache::Request

2001-08-15 Thread Robert Landrum
At 1:11 PM -0700 8/15/01, Rasoul Hajikhani wrote: I get the following error on my $i = Apache::Request-instance($r); I think you want my $i = Apache::Request-new($r); I've never used or seen instance before, but I've only been doing mod_perl for about 20 months. Rob -- A good magician never

Re: modperl 2.0

2001-08-16 Thread Robert Landrum
you find the locations of the perls in question and run a perl5.6.0 -V, a perl5.6.1 -V and a perl -V? Weirdly perl5.6.1 -V thinks it is perl 5.6.0 ?-S Please paste the entire output of perl5.6.1 -V so that we can see what's wrong. Thanks, Robert Landrum -- A good magician never reveals his

Re: modperl 2.0

2001-08-16 Thread Robert Landrum
to help as I am, especially when the thread starts getting long. Sincerely, Robert Landrum -- A good magician never reveals his secret; the unbelievable trick becomes simple and obvious once it is explained. So too with UNIX.

Re: Installation problem...urgent

2001-08-21 Thread Robert Landrum
all the options you passed to ./configure? Relevant sections of your ErrorLog (make test's is: t/logs/error_log) Not Applicable yet. If 'make test' fails, the output of 'make test TEST_VERBOSE=1' Again, Not Applicable. Robert Landrum Thanks for your help Regards Alvaro On Tue, 21 Aug

Re: Installation problem...urgent

2001-08-21 Thread Robert Landrum
At 8:45 AM +1000 8/22/01, Robert wrote: $ make $ make install My apache configuration can`t take the option ---activate-module=src/modules/perl/libperl.a This is because Alvaro hasn't yet installed mod_perl. configure apache (only) configure and make/install mod_perl make/install

Re: $r-args()

2001-08-29 Thread Robert Landrum
At 9:36 AM -0700 8/29/01, Rasoul Hajikhani wrote: Hello, I already have asked this question and got an answer for it, so please accept my forwarded apologies. However, I was trying something else and got stuck. I know in order to pass around query string, or form data, pnotes may be used.

Re: $r-args()

2001-08-29 Thread Robert Landrum
Which should solve your problems (I think). I am affraid it did not work. I have no problem reading the data in the current handler, but right after redirect, which is also required to read the data, I loose all the POSTED data. Performing a redirect causes posted data to be discarded. Your

Re: $r-args()

2001-08-29 Thread Robert Landrum
At 11:19 AM -0700 8/29/01, Rasoul Hajikhani wrote: Robert Landrum wrote: Which should solve your problems (I think). I am affraid it did not work. I have no problem reading the data in the current handler, but right after redirect, which is also required to read the data, I loose all

Re: I must be doing something dumb

2001-09-19 Thread Robert Landrum
U PerlFixupHandler not PerlFixUpHandler # ./httpd -L | grep Fix PerlFixupHandler (mod_perl.c) the Perl Fixup handler routine name Rob At 2:28 AM +0800 9/20/01, Stas Bekman wrote: [Michael, please always keep the threads on the list, unless you've been asked to take it

Re: Segmentation Fault

2001-09-20 Thread Robert Landrum
later discovered that there was a bug in Carp under perl 5.6.0 and that upgrading would have fixed my problem... At 10:32 AM -0800 1/31/01, Doug MacEachern wrote: On Wed, 31 Jan 2001, Robert Landrum wrote: Has anyone else had problems with the Carp module and mod_perl? there were bugs related

Re: [patch] overriding per directory PerlSetEnv

2001-10-04 Thread Robert Landrum
Couldn't you do the same thing by reversing the ordering of your Directory entries... Directory /usr/local/apache/cgi-bin/subdir PerlSetEnv VAR /usr/local/apache/cgi-bin/subdir /Directory Directory /usr/local/apache/cgi-bin PerlSetEnv VAR /usr/local/apache/cgi-bin /Directory

Re: [OT] P2EE Redux was: Excellent article on Apache/mod_perl at eToys

2001-10-23 Thread Robert Landrum
At 3:38 PM -0400 10/23/01, Stephen Adkins wrote: Several of you have made the same good point. And now the naming flame war has already begun... ;-) This is a discussion. Something has been proposed and it needs a name. I'd hardly call this a flame war. A name is pretty important and if

Re: inconsistency between CGI.pm and Apache::Request

2001-10-31 Thread Robert Landrum
There is some inconsistency between CGI.pm and Apache::Request's param() method, especially in handling of multivalued parameter. $q = CGI-new; $q-param(foo = qw(a b c)); @foo = $q-param('foo'); # ('a', 'b', 'c') $q-param(bar = [ qw(a b c) ]); @bar = $q-param('bar'); #

Re: [challenge] new mod_perl site

2001-11-14 Thread Robert Landrum
At 10:44 AM -0800 11/14/01, Nick Tonkin wrote: No one doubts your commitment to mod_perl, or your hard -- and unpaid -- work on the guide and many other things. But if you want to be a leader who inspires people to collaborate and work as a team under your direction, you'd do well to work on

RE: [DIGEST] mod_perl digest 2001/09/22

2001-11-16 Thread Robert Landrum
At 12:38 PM -0800 11/16/01, Geoffrey Young wrote: I took a brief haitus. as you may or may not know, I was working on a mod_perl book, and the time required for that was taking away from _everything_ else in my life. as somebody put it recently 'looks like you fell off the internet.' yup, and

Re: PerlModule not updating %INC

2001-11-20 Thread Robert Landrum
At 2:31 PM -0800 11/20/01, David Pisoni wrote: We have been doing development using mod_perl, but finding that Apache::StatINC was not working as expected (i.e., we needed to restart the web server in order to see our module changes in effect.) Our apache config files preload all necessary

Re: PerlModule not updating %INC

2001-11-20 Thread Robert Landrum
If that is the case, My::Special::Module won't be loaded and compiled until the very first time that someone hits /whatever. Just about EVERY module we use has a 'PerlModule' call to it, outside any enclosing blocks. Although I do have 'PerlHandler' directives in Location and Files blocks,

Re: Seeking Legal help

2001-11-21 Thread Robert Landrum
At 3:21 PM -0800 11/21/01, Medi Montaseri wrote: HiI know this is not the lawyers hang-out, but it is seasoned contractor's hangout and as such I need some legal advice...May I? I did some work (about $25000 worth) for a customer and I'm having problem collecting. One big problem is that I

[OT] search.cpan.org

2001-11-27 Thread Robert Landrum
Does anyone know why search.cpan.org is always the s-l-o-w-e-s-t site on the internet? I can't believe it always busy. I've had trouble hitting it at 3 AM. Maybe it's just me... Rob -- Only two things are infinite: The universe, and human stupidity. And I'm not sure about the former.

[OT] Re: search.cpan.org

2001-11-27 Thread Robert Landrum
: Because it does a full text search of all the contents of the DB. ~~~ Nick Tonkin On Tue, 27 Nov 2001, Robert Landrum wrote: Does anyone know why search.cpan.org is always the s-l-o-w-e-s-t site on the internet? I can't believe it always busy. I've had trouble hitting it at 3 AM

Re: Off-topic - Apache Config - Load crises

2001-10-11 Thread Robert Landrum
I know this is a bit off topic, but I could use some immediate advise on server config? Got a server which is getting hit really bad. Have to keep it up. I've got: P Timeout 300 # Keepalive, better on this server... KeepAlive On MaxKeepAliveRequests100 KeepAliveTimeout

Re: [OT] Overridding a module's use of a function

2001-10-11 Thread Robert Landrum
At 5:15 PM -0500 10/11/01, George Sanderson wrote: I discovered that File::NCopy uses the function glob to expand file names. My problem is that I need to pass file names that have spaces in them and glob does not process them. So I did the following override (I do not need to expand the file

Re: Programmer Wanted

2001-10-12 Thread Robert Landrum
At 10:43 AM -0700 10/12/01, BuildReferrals.com wrote: Hello, My name is James Ventrillo, the webmaster of BuildReferrals.com and CompanionBar.com. I am looking for a programmer to be part of my company. We have a staff of 8 and we desperately need an additional programmer. Over the next few

Re: Help with converting from plain CGI to mod_perl

2001-10-17 Thread Robert Landrum
At 1:49 PM -0700 10/17/01, Walt Knowles wrote: Converting all the globals to Module variables has been a piece of cake, but I've run into one big issue. Depending on how you log into the system, the user will connect to different databases. When they do this, I store the Database Handle from

Re: delayed file uploads...

2001-12-03 Thread Robert Landrum
At 3:29 PM -0800 12/3/01, El Capitan wrote: i have a simple question. im not sure if there is a mod_perl directive or module for this but id like to perform this simple task: two web pages run in sequence. the first page, id like a user to select several files from his/her machine for uploading

Re: Hi

2001-12-04 Thread Robert Landrum
If this guy is going to be sending us shit all night, I suggest we deactivate his account. Rob At 5:27 PM -0500 12/4/01, Christopher Rivera wrote: How are you ? When I saw this screen saver, I immediately thought about you I am in a harry, I promise you will love it! Content-Type:

Strange Can't locate errors

2001-12-05 Thread Robert Landrum
Can't locate CapWiz/Home/App.pm in @INC (@INC contains: /data/ap/perl- 5.6.1/lib/5.6.1/sun4-solaris /data/ap/perl-5.6.1/lib/5.6.1 /data/ap/perl-5.6.1/l ib/site_perl/5.6.1/sun4-solaris /data/ap/perl-5.6.1/lib/site_perl/5.6.1 /data/ap /perl-5.6.1/lib/site_perl . /data/ap/capwiz-apache/

Re: Apache::Session and frames

2001-12-05 Thread Robert Landrum
At 3:06 PM -0800 12/5/01, Michael A Nachbaur wrote: I have been beating my head against this problem for days, to no avail. I have tried google searches, etc., still no dice. So, I apologize for the noise people. I'm using Apache::Session and cookies to perform session management. In

Re: Strange Can't locate errors

2001-12-05 Thread Robert Landrum
At 4:41 PM -0700 12/5/01, Tim Tompkins wrote: I've seen this happen on some NFS volumes on Solaris. In this case the problem was supported by 'ls' reporting different contents on the same directory between two different shells. Unfortunately, I'm not an NFS wiz and I don't recall what the

Re: a new modperl book: mod_perl Developer's Cookbook

2001-12-06 Thread Robert Landrum
At 10:56 AM -0500 12/6/01, Geoffrey Young wrote: Stas Bekman wrote: SAMS will publish the new mod_perl Developer's Cookbook by Geoffrey Young, Paul Lindner and Randy Kobes in January, 2002. You can find more info at http://www.modperlcookbook.org/. Great work guys! thanks for the mention

Re: Comparison of different caching schemes

2001-12-14 Thread Robert Landrum
At 6:04 PM -0500 12/14/01, Perrin Harkins wrote: That's actually a bit different. That would fail to notice updates between processes until the in-memory cache was cleared. Still very useful for read-only data or data that can be out of sync for some period though. The primary problem with

Re: mod_perl site challenge: proposal to use ASF site design

2001-12-17 Thread Robert Landrum
At 4:17 PM -0500 12/17/01, David Harris wrote: The purpose of this e-mail is as follows: (a) See if others also think that the three alternatives for a mod_perl site are not very desirable. If you agree, please speak up and say that you agree. I agree. (b) See if others also think that using

Re: mod_perl book status

2001-12-18 Thread Robert Landrum
At 9:58 AM + 12/18/01, Ged Haywood wrote: Hi all, On Mon, 17 Dec 2001, Stas Bekman wrote (privately, discussing a book review:): Ged wrote: book_extract If you want to use CApache::DBI but you have both situations on one machine, at the time of writing the only solution is to run

Re: transient object data

2001-12-24 Thread Robert Landrum
At 11:51 AM + 12/23/01, Jean-Michel Hiver wrote: Maybe the way to do it would be to have a Serializable class that could have the following methods: freeze($self) : SCALAR thaw ($class) : OBJECT clone($self) : OBJECT; _freeze($self): SCALAR _remove_transient_attributes($self); Hmmm... Maybe

Re: Form Reading

2002-01-08 Thread Robert Landrum
Hello This is off topic, thanks for a direct hint to a module or an appropriate mailing list. I want to read an HTML form into an hash. But I don't want to use HTML::Tree or similar DOM Object trees. I need simply all form relevant information as an hash which is human readable. Example:

Re: Beginner's FixupHandler question

2002-01-08 Thread Robert Landrum
At 2:40 PM +0100 1/8/02, Zsolt Czinkos wrote: --- Here's my simple script: package SetMyCookies; use Apache; use Apache::Constants; use Apache::Cookie(); Very important to use strict when writing anything in mod_perl. sub handler { my $r = shift; $c = $r-header_in(Cookie); $c

Re: weird problem. Lost of the POST data

2002-01-16 Thread Robert Landrum
At 3:11 PM +0100 1/16/02, Oscar Serrano wrote: Here I put the beggining of the file: #!/usr/bin/perl -w use CGI; use strict; use varcomunes; #library of my own use lib $LIBRERIAS_AT; use EnlacesAT; #library of my own use Idioma; #library of my own use DBI; use OrdenesComunes; #library of my own

Re: Single login/sign-on for different web apps?

2002-01-17 Thread Robert Landrum
At 9:06 PM + 1/16/02, Mark Maunder wrote: That's cool, but any ideas on how to do this with different domain names i.e. foo.com, bar.com, baz.com and boo.com? You can't create cookies for the .com domain, so there's no way to hand out auth cookies from foo.com (when the user logs into

Re: [OT] Trouble with dprofpp and Devel::DProf

2002-01-18 Thread Robert Landrum
At 12:46 AM + 1/18/02, Ged Haywood wrote: Hi all, Anyone using 5.7.0 had any trouble with dprofpp? Devel::DProf writes tmon.out OK but dprofpp doesn't understand it. The whole kit came with 5.7.0 in one source tarball. I searched p5p with the Google and the perl.com engine and came up with

Re: Thumbnail generator

2002-01-21 Thread Robert Landrum
At 4:13 PM +0100 1/21/02, Gerald Richter wrote: I recently decided that Apache::Gallery is really nice if you want to sit down and start fiddling with templates, but that I needed to make a quick-easy version for myself. The design is to be extremely simple, and is divided into two seperate

Re: [OT] Cgi permission Questions

2002-01-21 Thread Robert Landrum
At 12:26 PM -0700 1/21/02, Joe Bifano wrote: Hi all, My first time on the list. I have been looking at the archives but am not able to find anything on this. I have 3 web servers, 1 development/nfs server and 2 database mysql servers in a cluster server farm. All sites are owned by our

Re: mod_perl installation

2002-01-21 Thread Robert Landrum
At 11:35 AM -0800 1/21/02, Rasoul Hajikhani wrote: Folks, I get this message when running Makefile.pm: Your Perl is configured to link against libgdbm, but libgdbm.so was not found. You might need to install Perl from source I have checked the /usr/lib directory for libgdbm.so and it is not

Re: mod_perl installation

2002-01-21 Thread Robert Landrum
At 11:35 AM -0800 1/21/02, Rasoul Hajikhani wrote: Folks, I get this message when running Makefile.pm: Your Perl is configured to link against libgdbm, but libgdbm.so was not found. You might need to install Perl from source Actually, I just checked... I removed perl-5.6.x/ext/*_File Rob

Re: slow regex [BENCHMARK]

2002-01-23 Thread Robert Landrum
At 4:01 PM -0800 1/23/02, Paul Mineiro wrote: Paul Mineiro wrote: i've cleaned up the example to tighten the case: the mod perl code snippet is: --- my @cg; open DIL, '', /tmp/seqdata; print DIL $seq; close DIL; warn length seq = @{[length ($seq)]}; my $t = timeit (1, sub {

Re: is there something wrong with my http header?

2002-01-28 Thread Robert Landrum
I'm trying to print a gif image to the browser, but it's appearing as text. Here's what the output looks like (used lynx --mime_header): HTTP/1.1 200 OK Date: Mon, 28 Jan 2002 21:58:05 GMT Server: Apache/1.3.20 (Unix) mod_perl/1.26 Set-Cookie: FOO=bar; domain=foo.bar; path=/ Pragma: no-cache

Re: New mod_perl Logo

2002-01-30 Thread Robert Landrum
At 4:54 PM -0500 1/30/02, [EMAIL PROTECTED] wrote: In a message dated 30-Jan-02 6:08:29 AM GMT Standard Time, [EMAIL PROTECTED] writes: All these American-style names are verging on the racist. This is world-wide code, not f---ing American-wide code. Don't let the crappy AOL account fool

Re: Indentifying dir_config's

2002-02-01 Thread Robert Landrum
At 1:39 PM -0800 2/1/02, [EMAIL PROTECTED] wrote: I'm wondering if there is a way that I can mark or remeber that I've seen a particular dir_config during a previous request. The motivation is performance related - so that I can set up for particular set of PerlSetVar values only the once. Then

Re: DBI handle cleared whilst still active

2002-02-08 Thread Robert Landrum
At 4:09 PM +0100 2/8/02, [EMAIL PROTECTED] wrote: Hi all, i have just installed DBI-1.20, ApacheDBI-0.88 and DBD-Oracle-1.12 on a tru64 Unix 5.1a. Also installed is Oracle 8.1.7 with Oracle supplied Apache 1.3.12 and Oracle supplied perl 5.005_03. After some problems i got it work together with

[OT] Opera Cookies

2002-02-08 Thread Robert Landrum
I've recently come across some interesting behavior with Opera on linux. When I set a cookie using CGI::Cookie and Set-Cookie: headers, and then perform a JavaScript redirect to another page, the cookie IS NOT SET. That doesn't mean that the Cookie: header wasn't returned from the browser, I

Re: [OT] Moving WYPUG

2002-02-15 Thread Robert Landrum
At 7:44 AM -0500 2/15/02, fliptop wrote: the version of makerpm.pl you find may not work with rpm version 4.0 or higher, this will fix that: 572c572 } elsif ($rpm_version =~ /rpm\s+version\s+3\.+/i) { --- } elsif ($rpm_version =~ /rpm\s+version\s+3|4\.+/i) { Actually I

Re: [BUG] Memory Courruption (was: RE: [Q] SIGSEGV After fork())

2002-02-15 Thread Robert Landrum
At 11:44 AM -0600 2/15/02, Fister, Mark wrote: Dear mod_perl experts: Collectively, we've been at this for more than two weeks and have searched various mod_perl archives, all to no avail. Symptom: === SIGSEGV after fork(). Very reproducible. Memory corruption gets moved around if

  1   2   >