Re: stopping concurrent logins

2003-04-04 Thread Robert Landrum
... :) Good luck, Rob --Frank -- Robert Landrum Systems Programmer

Re: Content-Type not working on MSIE

2003-03-20 Thread Robert Landrum
On Thu, Mar 20, 2003 at 02:04:55PM -0800, Andrew Ho wrote: Hello, AFAs an aside, if anyone on the list knows of ways to defang this really AFannoying IE behavior, I would be most interested in knowing about it Two (and probably more) ways to do it. This is probably in a FAQ somewhere

[OT] Re: Hiding the .pl

2003-03-19 Thread Robert Landrum
) ApacheJServ/1.1.1 PHP/4.2.2 mod_perl/1.27 configured -- resuming normal operations Thanks in advance, Bruce Kives -- Robert Landrum Systems Programmer

Re: [OT] MLDBM Size Limit??

2003-01-21 Thread Robert Landrum
On Tue, Jan 21, 2003 at 02:37:02PM +, Ged Haywood wrote: Hi there, On Tue, 21 Jan 2003, Jim Morrison [Mailinglists] wrote: Sorry this is a little off topic... Is there a size limit on DBM's? (Or Linux files for that matter.. ) [snip] Thing is I'm getting a write error and it

Re: OSCON ideas - missing proceedings

2003-01-09 Thread Robert Landrum
One of the other things I disliked about the last OSCON was the missing Perl Conference Proceedings. I still have very fond memories of reading about Damians very sick, very twisted, Coy.pm in the 1999 Perl Conference Proceedings. Did anyone else notice that they weren't made available at the

Re: OSCON ideas

2003-01-08 Thread Robert Landrum
On Wed, Jan 08, 2003 at 04:14:47PM -0500, Perrin Harkins wrote: What do you guys think? As an OSCON attendee for the past few years, I've found only a few talks that really were helpful. One thing that I would love to see are practical implementations of perl applications. For example, we

Re: Fw: OT - Santa uses PERL

2002-12-20 Thread Robert Landrum
On Fri, Dec 20, 2002 at 10:35:18AM -0800, Bill Moseley wrote: That sounds a lot like Perrin's story. Didn't he save Christmas one year? Indeed he did... and at etoys, no less... Perhaps Perrin is an elf. :) Rob

Re: RFC: Template::YetAnother

2002-11-19 Thread Robert Landrum
I've said it before... :) http://mathforum.org/epigone/modperl/zhixswahar/v04210105b76eecf6c2be@%5b192.168.1.3%5d Rob On Sat, Nov 16, 2002 at 10:33:44PM +0100, Thomas Klausner wrote: Hi! On Sat, Nov 16, 2002 at 03:31:39PM -0500, Perrin Harkins wrote: I also posted this on perlmonks:

Re: how to detect a broken connection using mod_proxy

2002-11-11 Thread Robert Landrum
mod_proxy doesn't cooperate with the backend. Anybody knows of similar to mod_proxy modules that do play nicely with the backend regarding aborted connections? I've never used it, but wasn't mod_backhand supposed to do this? Rob -- Robert Landrum Systems Programmer

Re: Novice - How would I add a hidden form field to a LWP::UserAgent call?

2002-10-31 Thread Robert Landrum
the data. Is there something special I need to do to get a hidden form field? Thanks, Chris -- Robert Landrum Systems Programmer

Re: [OT] - Mailing List Servers/mods .. etc

2002-09-26 Thread Robert Landrum
I did just this. Unfortunatly, sendmail proved to be too slow, both in command line piping (i.e. open(PROG,| sendmail );), and via socket connection to port 25 to be a viable solution for the volume of mail we sent. Last I checked, the code I wrote interfaced with Lyris, which was

Re: help with a simple redirect

2002-09-18 Thread Robert Landrum
any errors .. even 'error_log ' is blank. Any clues ? Thanks -- Robert Landrum Systems Programmer

Re: [Newbie Q] Running into strange 420-character POST limit.

2002-08-01 Thread Robert Landrum
On Thu, Aug 01, 2002 at 03:51:09AM -0400, sully wrote: Answer: You tell me! :) A problem with Apache? A problem with mod_perl? A problem with IE/Mozilla? Do I need to be posting large forms such as this using multipart/form-data with mod_perl? Please. Help. Have you tried just regular

Re: [Newbie Q] Cleanest way to implement one logon per user?

2002-08-01 Thread Robert Landrum
On Thu, Aug 01, 2002 at 03:08:40PM -0400, Baljit Sethi wrote: Hello. I am hoping someone can point me in the right direction. What I want to do is limit client logons to one logon per username ie while a client has a session open, he/she cannot logon to the website from another

Re: PerlAccessHandler

2002-07-29 Thread Robert Landrum
On Fri, Jul 26, 2002 at 04:11:29PM -0700, Rasoul Hajikhani wrote: Folks, My PerlAccessHandler is being executed twice per each request. Is this a normal behavior for an access handler? Here is my .conf entry Location /myHandler SetHandler perl-script # run is a wrapper

Re: Optional HTTP Authentication ?

2002-07-01 Thread Robert Landrum
On Mon, Jul 01, 2002 at 10:30:36AM +0100, Jean-Michel Hiver wrote: browser sent the credentials, or leave $ENV{REMOTE_USER} undef otherwise, without sending a 401 back. I didn't think a browser would send authentication unless the server requested it for an authentication domain.

Re: Preserving POST data on external redirect?

2002-06-24 Thread Robert Landrum
A few things to note here... You cannot post to a remote server in this fashion. You can take a POST request to your server and convert it to a GET request to another server, which may not be what you want. To take POST content and POST it to another server you must proxy the request. By

Re: RewriteRule and AccelPass conflict

2002-06-24 Thread Robert Landrum
is to stack these handlers, so that rewrite happens first and accel second. I've never tried this, but it might work Rob -- Robert Landrum Systems Programmer

Re: Setting the Content-Type for displaying a gif

2002-06-05 Thread Robert Landrum
On Wed, Jun 05, 2002 at 04:38:26PM +0200, [EMAIL PROTECTED] wrote: Hello, I have a problem with setting the correct content-type under mod_perl with mason. I use mason with the mod_perl args_method. I want to get a .gif out of a database and print it in a window, but all i get is binary

Re: Apache::File correction

2002-04-10 Thread Robert Landrum
At 1:44 PM -0700 4/10/02, Rasoul Hajikhani wrote: Folks, The Apache::File man pages indicate that ($name,$fh) = Apache::File-tmpfile; returns a fh ready to write to. So far so good. In case of wanting to read from it, here is what I do: # Is this necessary? $fh-close() or die Could not close

[JOB] mod_perl/DBI programmer in Fairfax, VA

2002-04-08 Thread Robert Landrum
Capitol Advantage Fairfax, VA, USA Description: Online Congressional Directory publisher is looking for a lead programmer (or programmers) to maintain our existing codebase (written in mod_perl) and develop new additional components for the system. Skills Required: Perl, mod_perl, Apache,

Re: PDF generation

2002-04-03 Thread Robert Landrum
At 3:43 PM -0500 4/3/02, Bill McCabe wrote: Hi All I have a large number of mod_perl modules that connect to various databases and generate workflow performance reports for my organization. I give the users 3 output options: HTML, Excel (Spreadsheet::WriteExcel), and PDF. For PDF output I've

Re: Be carefull with apache 1.3.24

2002-03-25 Thread Robert Landrum
At 11:14 AM -0500 3/25/02, John Siracusa wrote: Does anyone know how I can put my ProxyIOBufferSize config line in a conditional that'll keep it from blowing up if I'm using a version of apache earlier than 1.3.24? -John In /path/to/apache1.3.24/bin/apachectl add a -DAPACHE_1_3_24 to the httpd

Re: Permission conflict between mod_cgi and mod_perl

2002-03-25 Thread Robert Landrum
At 3:17 PM -0600 3/25/02, James G Smith wrote: And the sky isn't blue, but the results are the same. mod_perl can't run scripts. Scripts can be run from mod_perl. More than that, set-uid scripts can be run from mod_perl and offer one of the better ways of doing things that require root

Re: Can't open perl script -spi.bak

2002-03-22 Thread Robert Landrum
At 3:00 AM +0800 3/23/02, Stas Bekman wrote: On Fri, 22 Mar 2002, Pete Kelly wrote: I am attempting to build mod_perl on NT. I successfully built Apache. I have ActiveState 5.6 (Perl v5.6.1) installed. I also have MS Visual Studio 6.0 installed. I downloaded mod_perl-1.26.tar.gz from

Re: Off topic question a little worried

2002-03-21 Thread Robert Landrum
At 4:58 PM -0500 3/21/02, darren chamberlain wrote: Another alternative is to replace it with something that appears to do the same thing, but actually logs a ton of stuff from the requestor. Unless the entire site has already been backdoored. If that is the case, then this would serve no

Re: Permission conflict between mod_cgi and mod_perl

2002-03-18 Thread Robert Landrum
At 3:42 PM -0500 3/18/02, [EMAIL PROTECTED] wrote: In a message dated 18-Mar-02 7:36:55 PM GMT Standard Time, [EMAIL PROTECTED] writes: You may want to look into useradd and /etc/skel on a Linux system. It has everything you are trying to accomplish handled automatically by using the

Re: File upload example

2002-03-12 Thread Robert Landrum
At 9:01 AM -0800 3/12/02, David Wheeler wrote: On Tue, 2002-03-12 at 03:57, Rich Bowen wrote: my $form = Your::Class::form(); # Wherever you put this function if (my $file = $form-{UPLOAD}) { my $filename = $file-filename; # If you need the name Actually, if you want the name, it's a

Re: Can anyone recommend a good flavour of Cookie?

2002-03-07 Thread Robert Landrum
At 9:28 AM + 3/7/02, Jeff wrote: Please forgive a mod_perl wannabie [aka woza.PHP4.user] I have googled two differing flavoured cookies in the mod_perl recipe library: Apache::Cookie Apache::RequestNotes and of course, there is the 'Why not hack the HTTP_COOKIE env all by your

Re: Document Caching

2002-03-06 Thread Robert Landrum
At 12:28 PM -0800 3/6/02, Rasoul Hajikhani wrote: Hello People, Need your advise on how to cache a template under mod_perl... Any ideas? Thanks in advance -r #startup.pl open(FILE,/path/to/tmpl); $MY::TEMPLATE .= while(FILE); close(FILE); Provided that you never change $MY::TEMPLATE, this

Re: Breaks in mod_perl, works in Perl

2002-03-05 Thread Robert Landrum
At 1:14 PM -0700 3/5/02, Mark Hazen wrote: I am hoping there is a someone brilliant on this list that can help me A little while ago, I posted to clpperl asking how I can capture the trace output from DBI into a variable Since DBI is an external process, I couldn't do it just by piping STDERR

RE: Breaks in mod_perl, works in Perl

2002-03-05 Thread Robert Landrum
At 1:32 PM -0700 3/5/02, Mark Hazen wrote: I'm sorry I didn't explain an important component Since I am dealing with a few hundred requests per minute (this was got me onto mod_perl to begin with), then using DBI's ability to write to a file would vastly overwhelm my system I don't get it You

[OT] Apache Config Problem

2002-02-19 Thread Robert Landrum
I'm trying to do something really simple and trying to avoid writing an Modperl handler to do it. We have a website behind a bigip running on port 8080. When someone requests a URL that doesn't end with a slash, it's redirected to http://host:8080/path/ . I tried turning off

Re: [OT] Apache Config Problem

2002-02-19 Thread Robert Landrum
At 2:22 PM -0500 2/19/02, Stephen Reppucci wrote: So, if you virtual host was something like: Listen 192.168.0.100:8080 VirtualHost 192.168.0.100:8080 ServerName www.foo.com ServerAlias foo.com Port 80 ... /VirtualHost Then (assuming your bigip sends requests for foo.com to

Frontier::Responder question

2002-02-18 Thread Robert Landrum
I recently picked up Programming web services with XML-RPC. It mentions a module that I have yet to track down. I am unable to find Frontier::Responder. O'Reilly's site mentions that Joe Johnston wrote. Joe makes it pretty clear that he want's you to use it in place of Frontier::Daemon

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

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: 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: 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: 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: 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: 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: [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: 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: 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: 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: 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: 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: 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: 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: 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

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: 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:

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

[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: 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

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: [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: [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: 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: [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: 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: 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: 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: [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: 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: 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: $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: 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: 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: 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: 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: 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: [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: 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: 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: 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: 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: 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: 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: 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: 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 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

  1   2   >