Re: conference talks

2004-02-03 Thread Eric
tion the best. This attitude that even a lot of Perl programers encourage because of their own egos, really freaks me out sometimes. It is as bad or worst than the "Java performance sucks" problem that Java programmers still run into. So I vote for "Practical Perl Style"

Re: conference talks

2004-02-03 Thread Eric
> >PS: My feeling is that you'll do a lot more good with the scalable >websites talk than with irresistible-force-immovable-object stuff. Ok, I switch my vote :) I really think this is a good point, it will do more good to show good code in a compelling example, than to preach a

Re: [OT] load-testing tools

2004-03-03 Thread Eric
people start finding my sight slow, rather than, at what point does the server become unresponsive? Thanks, Eric At 02:29 PM 3/3/2004, Perrin Harkins wrote: >Does anyone have any open source load-testing tools that they would >recommend, beyond the ones listed at >http://perl.apache.org

Re: mod_perl presence at OSCON (and other CONs) is at danger

2004-06-09 Thread Eric
the blathering, I don't have much time to write this kind of stuff at work, but I am hoping this might provide some ideas. Thanks, Eric At 10:45 AM 6/8/2004, Randal L. Schwartz wrote: >>>>>> "Stas" == Stas Bekman <[EMAIL PROTECTED]> writes: > >Sta

Re: Why I use mod_perl (PR stuff)

2004-06-09 Thread Eric
make that conversion a lot easier making the basic system outlive even major changes. If we had been hacking away just solving the problem of the moment, then if that big change comes, we might as well start all over again. What a waste that would be.. Thanks, Eric At 01:42 PM 6/9/2

Re: perl 5.8 safe signals and broken pipes in apache

2004-06-16 Thread Eric
V) or die "Couldn't restart: $!\n"; } sub sigALRM_handler { print "got ALARM timeout\n"; } sub sigCHLD_handler { while (my $reaperpid = waitpid(-1,WNOHANG)>0) { } } ## do your while (1) and fork etc... I wish I could paste in my whole daemo

FreeBSD 4.10 ports change that affects Storable

2004-06-16 Thread Eric
make a conversion program to load the old Storable data and re-write it with the new. Otherwise the next FreeBSD update could lead to a headache... :) Thanks, Eric -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette

Solaris 9 x86 compile (SunFire v40z)

2004-09-24 Thread Eric
except I don't know how to correctly make these changes so that gcc flags are used instead of Solaris compiler flags. I am guessing that mod_perl is being a little too smart for its own good in this case. :) Thanks, Eric -- Report problems: http://perl.apache.org/bugs/ Mail list info:

Re: Solaris 9 x86 compile (SunFire v40z)

2004-09-24 Thread Eric
At 01:42 PM 9/24/2004, John D Groenveld wrote: In message <[EMAIL PROTECTED]>, Eric writes : >Which sounds like the answer to my problem except I don't know how to >correctly make these changes so that gcc flags are used instead of Solaris >compiler flags. I am guessing that

Re: Solaris 9 x86 compile (SunFire v40z)

2004-09-24 Thread Eric
Built under solaris Compiled at Nov 4 2002 01:56:55 @INC: /usr/perl5/5.6.1/lib/i86pc-solaris-64int /usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/i86pc-solaris-64int /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/i86pc-solaris-64int /u

Re: Solaris 9 x86 compile (SunFire v40z)

2004-09-24 Thread Eric
for your help, Eric At 01:42 PM 9/24/2004, John D Groenveld wrote: In message <[EMAIL PROTECTED]>, Eric writes : >Which sounds like the answer to my problem except I don't know how to >correctly make these changes so that gcc flags are used instead of Solaris >compiler flags

Re: mod_perlservice? Heck Yeah!

2004-11-26 Thread Eric
pretty cool that you have some enthusiasm over your own work, nothing wrong with that! Thanks, Eric At 03:57 PM 11/26/2004, you wrote: Gentlemen, mod_perlservice rocks. I know because I wrote it. Let my email explain why I wrote mod_perlservice and why it will provide obvious benefits to webservices

mod_perl success

2005-06-09 Thread Eric
a bit and was sad to say they didn't quite have what I was looking for. Odd as it may sound I was looking for a good webdav client for Windows and found a post talking about them. Thanks, Eric

Apache::Timeit

2005-06-15 Thread Eric
Hi, For 1.29 where can I find this module? Is it out of date, replaced by something else? Thanks, Eric

user with Basic Auth

2005-07-04 Thread Eric
irstname=&cu_address1=&cu_city=&cu_st_prov=n%2Fa&cu_countrycode=--&cu_email=&quantity_ordered=&product_name=0&username=&Submit=Go+Search&month=0&day=0&year=0&endmonth=0&endday=0&endyear=0&orderby=orders.ord_date', 'SSL_SERVER_M_VERSION' => '3', 'SSL_SERVER_I_DN' => '/C=US/O=Equifax/OU=Equifax Secure Certificate Authority', 'SERVER_ADDR' => '24.90.29.168', 'HTTP_HOST' => 'dmcontact.com', 'MOD_PERL' => 'mod_perl/1.29' }; $r->headers_in() Dump $VAR1 = bless( { 'Accept' => 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'Accept-Charset' => 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'Accept-Encoding' => 'gzip,deflate', 'Accept-Language' => 'en-us,en;q=0.5', 'Authorization' => 'Basic (crypted password here)', 'Cache-Control' => 'max-age=0', 'Connection' => 'keep-alive', 'Host' => 'dmcontact.com', 'Keep-Alive' => '300', 'Referer' => 'https://dmcontact.com/perl/multi_cs.cgi?rm=order_search', 'User-Agent' => 'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0' But where is the user? I can get the password from Authorization, the username is getting recorded in the Access log, so I know it does exist and Apache knows about it. I am lost, this is pretty important for this app too :( Thanks, Eric

Re: user with Basic Auth

2005-07-04 Thread Eric
At 01:16 PM 7/4/2005, Markus Wichitill wrote: Eric wrote: Since our move from a internal office machine that was not using SSL to an outside machine that is, I have not been able to get the Basic user's name. Do you have "SSLOptions FakeBasicAuth" enabled? That would probably

Re: user with Basic Auth

2005-07-04 Thread Eric
At 01:51 PM 7/4/2005, Markus Wichitill wrote: Eric wrote: Do you have "SSLOptions FakeBasicAuth" enabled? That would probably overwrite the normal $r->user with the name from the SSL client certificate (non-existent in your case). No, I just have this: SSLOptions +StdEnvVa

Re: mod_perl2 and PHP

2005-08-07 Thread Eric
:) It has turned out to be a great compromise for us. The best technical answer is not always the best answer. Thanks, Eric Lead Programmer D.M. Contact Management 250.383.8267 ext 229

Request object getting switched

2003-12-18 Thread Eric Sammer
and haven't had a problem. I'm quite sure it's a minor oversight on my part. TIA and any help is appreciated. -- Eric Sammer [EMAIL PROTECTED] http://www.ineoconcepts.com -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: Request object getting switched

2003-12-18 Thread Eric Sammer
populated as expected. I'm sure I can solve the problem by moving the PerlInitHandler handler to something post-uri-translate. -- Eric Sammer [EMAIL PROTECTED] http://www.ineoconcepts.com -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: Request object getting switched

2003-12-18 Thread Eric Sammer
Eric Sammer wrote: I'm sure I can solve the problem by moving the PerlInitHandler handler to something post-uri-translate. I was wrong. Moving the handler to a Perl*Handler that takes place after PerlTransHandler does not fix the problem. I have to admit defeat. If anyone is aware of a fi

Re: Request object getting switched

2003-12-19 Thread Eric Sammer
assuming it should be main rather than prev? The way it is now seems as if it's a redirect rather than a subrequest. Either way, it works with $r->prev() even if I'm unclear about why. Once again, thanks Stas! -- Eric Sammer [EMAIL PROTECTED] http://www.ineoconcepts.com -- Rep

Re: Request object getting switched

2003-12-19 Thread Eric Sammer
essible via $r->main() rather than $r->prev() and something was wrong. Again, thanks for all the help! -- Eric Sammer [EMAIL PROTECTED] http://www.ineoconcepts.com -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: Storing variables in memory

2003-12-20 Thread Eric Sammer
m the rdbms and then write it to the cache, but it's trivial when you consider the benefits. HTH. -- Eric Sammer [EMAIL PROTECTED] http://www.ineoconcepts.com -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: Storing variables in memory

2003-12-20 Thread Eric Sammer
Perrin Harkins wrote: Eric Sammer wrote: Any DBM file or shared memory caching will be infinitely faster than making a DB round trip. Actually, it turns out that this is no longer true. MySQL is really fast these days. A simple query on a local MySQL is faster than just about anything except

Re: mod_perl presence at OSCON (and other CONs) is at danger

2004-06-09 Thread Eric Frazier
make use of it soon. Thanks, Eric At 05:47 AM 6/9/2004, Geoffrey Young wrote: >Eric wrote: >> I think the other aspect of >> mod_perl that I would want to push very hard is the deep hooks into >> Apache. Just as a small example of something I have not yet figured out,

Re: mod_perl presence at OSCON (and other CONs) is at danger

2004-06-13 Thread Eric Berg
then implement it, or you recognize that you're going to f(#*$ yourself for the next 6 months by hacking a solution, so you do the homework to figure out how to do it right. The docs page on the MP home page seems like the right place for this to me. I have to do some of this anyway, so I ca

Re: perl 5.8 safe signals and broken pipes in apache

2004-06-16 Thread Eric Frazier
Hi, Very glad I could be of some help, even though most of this was copy and paste and googling. I was in fact testing this on a FreeBSD server with 5.8.0, the production server is 5.8.4. Eric At 03:39 PM 6/15/2004, Jim Albert wrote: >Great! It's always nice to have multiple soluti

Solutions Guide

2004-06-19 Thread Eric Berg
27;s next? How can I get this set up as a project? Thanks. -Eric. Eric Berg <[EMAIL PROTECTED]> http://www.bergbrains.com -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: Solutions Guide

2004-06-19 Thread Eric Berg
ndlers and dhandlers as dispatchers =item Error qw(:try) =head2 Object Caching =item Cache::Cache You can send contributions or suggestions to me. Thanks. -Eric. Eric J. Hansen wrote: Do you have a URL for your draft doc? (or was part of your question re: publishing this to CVS or perl.apache.org?)

Re: Solutions Guide

2004-06-20 Thread Eric Berg
I'll do that to get it started, Dave. Thanks. Good suggestion. Even though, I envisison this to be a more general document ultimately, that'll be a good place (and easy) to start. Thanks. -Eric. Dave Rolsky wrote: On Sat, 19 Jun 2004, Eric Berg wrote: I just put it up at http://berg

Re: perl 5.8 safe signals and broken pipes in apache - now mod_perl blacklisted

2004-06-30 Thread Eric Frazier
t rid of the spammer, or move your ISP" Yes, folks, it is that bad these days. spam means unsolicited email, but also it means lots of people don't get their legitimate email. I frankly think the whole thing is a nightmare with no end in sight.. Thanks, Eric At 01:10 PM 6/30/2004, J

advantages of mod_perl over java servlets

2004-08-10 Thread Eric Lenio
I'm about to start work on a web application which will collect information from the user and return a document based on that information. I'm trying to point out the advantages of mod_perl over a solution based on Java servlet technology to my client. Can anyone provide any quick links/ informat

Re: advantages of mod_perl over java servlets

2004-08-10 Thread Eric Lenio
the reason I'm asking is because the client is really more attuned to the java hype/buzzwords that exists out there. having done just a smattering of java, I am somewhat at a loss as to tell them exactly why a perl solution is better. this client does already have some investment in java, but no p

mp2: PerlTransHandler/proxying with question mark in URL

2004-10-30 Thread Eric Lenio
In my apache config file I'm using a PerlTransHandler call to do URL rewriting. Basically I want to map all URL's beginning with http://testhost.lenio.net to internally to go to: http://localhost:8080 This works perfectly except when I introduce a URL with a question mark like this: http

New User's First Steps

2003-10-28 Thread Eric Moore
show up, but not warnings. Any ideas on what I'm doing wrong? Thanks, Eric. httpd.conf -- LogLevel warn PerlModule Apache::Registry ... DocumentRoot /var/www/pick6/ ServerName www.yadda.com ServerAdmin [EMAIL PROTECTED] ErrorLog logs/error_log Transf

Re: New User's First Steps

2003-10-29 Thread Eric Moore
on 10/28/03 6:24 PM, Stas Bekman at [EMAIL PROTECTED] wrote: > Eric Moore wrote: >> Having googl'd and read various faqs, cookbooks... >> >> Site worked OK under CGI, but slowly -- on an old machine. >> >> I have converted to mod_perl only using the Apac

Re: New User's First Steps

2003-10-29 Thread Eric Moore
auses an internal server error to display in the > browser) show up in the per-host log, but the warn level STDERR all > ignores the ErrorLog directive and goes to the main log. This may be > what's happening to you. > > I don't know how to fix it (if anyone else on here does, pl

Apache::Request->instance()

2003-11-05 Thread Eric Sammer
using Apache->request() at all - I do get the "original" apache object from tech arguments to handler() methods, FWIW. Obviously, this is MP1.x, Apache 1.3.x (on Gentoo Linux, for those interested). Thanks in advance and sorry for the scattered email... -- Eric Sammer [EMAIL PRO

Re: Apache::Request->instance()

2003-11-06 Thread Eric Sammer
y of the current request object between request phases or parts of the system without trying to pass around the same $r all over the place (messy as hell). I really appreciate the quick answers from both you and Stas. Thanks again. -- Eric Sammer [EMAIL PROTECTED] -- Reporting bugs: h

Re: Apache::Request->instance()

2003-11-06 Thread Eric Sammer
ail incorrectly. If you don't want to pass $r around, you can easily use the Class::Singleton class to get $r from anywhere under both mod_perl generations. There is even Apache::Singleton. See: http://search.cpan.org/search?query=singleton&mode=all That is also interesting. Thanks. Tha

Re: [Slightly OT] Standardizing image uploads/making thumbnails

2005-03-05 Thread Eric Wilhelm
won't claim to know how the forking that it does interacts with a2/mp2 (yet.)) --Eric -- "Matter will be damaged in direct proportion to its value." -- Murphy's Constant - http://scratchcomputing.com -

Re: shared memory

2005-03-15 Thread Eric Wilhelm
g shared memory. With that in mind, try to reframe your problem and you'll probably find that DBI will be the path of least resistance. There are a few wrapper modules that simplify the interface (some even tied to hashes?) so maybe you want to use one of those if your frustrated by hav

Re: [mp2] can't make or make test mod_perl 2.0.1 for cygwin 1.5.17

2005-07-24 Thread Eric Benson
Thanks! On Jul 24, 2005, at 11:46 AM, Nick *** wrote: The patch has been commited in the latest svn and it should be available in mod_perl-2.0.2. There's one condition. You have to use cygwin's httpd port (it's available since cygwin 1.5.18). Оригинално писмо От: "Er

[mp2] 'make test' error--cannot start server: httpd () does not exist

2005-08-22 Thread Eric Martin
. Return-Path: <[EMAIL PROTECTED]> Received: (qmail 69110 invoked by uid 99); 22 Aug 2005 16:50:07 - Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2005 09:50:07 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0

Fw: [mp2] 'make test' error--cannot start server: httpd () does not exist

2005-08-22 Thread Eric Martin
; -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="logs/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" - Original Message - From: "Philippe M

Re: Fw: [mp2] 'make test' error--cannot start server: httpd () does not exist

2005-08-22 Thread Eric Martin
Note: chowning the entire apache tree to nobody:nobody still causes the "httpd () does not exist" error in mod_perl 2. Have you tried $> su - nobody $> stat /usr/local/stow/apache-2.0.54/apache2/bin/httpd ? 'stat' command? Did I mention the machine is a vanilla Solaris 10 host? I suspect n

proxy question: URL with parameters

2005-10-20 Thread Eric Lenio
I've written a modperl handler which internally sends request like this: http://somehost.com to instead go to an internal site: http://192.168.0.4:8080 And the handler works as expected. But when the URL is something like this: http://somehost.com?arg1=value1 The handler converts the questio

Re: proxy question: URL with parameters

2005-10-20 Thread Eric Lenio
On Thu, Oct 20, 2005 at 10:47:02PM -0400, Philip M. Gollucci wrote: > Eric Lenio wrote: > >The handler converts the question mark to %3f and the proxy request > >basically > >fails. I'm using modperl 1.99.11, I'd like to fix this before moving in to > >2.0

Re: proxy question: URL with parameters

2005-10-21 Thread Eric Lenio
s list to look for EXCUSES to use mp2... come on, how about some mp2 advocacy??? On Fri, Oct 21, 2005 at 03:45:25PM -0400, Adam Prime x443 wrote: > Are there reasons you don't want to use mod_proxy, or Apache::ProxyRewrite > (ProxyRewrite may not work on mp2)? > > Adam > >

Re: POST form hanging at new CGI

2006-05-18 Thread Eric Lenio
Enno, you might want to try applying this patch: http://issues.apache.org/bugzilla/show_bug.cgi?id=37145 I had a problem similar to yours and this fixed it. Eric. On Thu, May 18, 2006 at 06:02:22PM +0200, Enno wrote: > > > On Thu, 18 May 2006, Thomas Hilbig wrote: > > >

the perl scripts are not executed on server side

2006-06-14 Thread Eric GRAMMATICO
A trivial question I hope. I wrote the perl script rocks.pl: #!/usr/bin/perl print "Content-type: text/plain\n\n"; print "mod_perl 2.0 rocks!\n"; When I connect to http://localhost/perl/rocks.pl the browser shows the source code. I believe I have a miss configuration somewhere, but I didnt fin

Having problems installing mod_perl on Slackware

2007-03-21 Thread Eric Snyder
Be patient with me, I am new to perl. I am attempting to install perl, apache and mod_perl so I can use the mod_perl cgi in BackupPC. I get through most of the process but my mod_perl MAKE blows up. I am following the instructions at http://perl.apache.org/docs/2.0/user/install/install.html R

Re: Having problems installing mod_perl on Slackware

2007-03-22 Thread Eric Snyder
d, in which case pass: |-Uusethreads| instead of |-Dusethreads|. Perrin: You are saying to use Apache 2.0.59 rather than 2.2.4? Eric Perrin Harkins wrote: On 3/21/07, Eric Snyder <[EMAIL PROTECTED]> wrote: configured perl with: ./Configure -des -Uusethreads It would be better not t

Re: Having problems installing mod_perl on Slackware

2007-03-22 Thread Eric Snyder
this linux newbie resolve this? Thanks, Eric Perrin Harkins wrote: On 3/22/07, Eric Snyder <[EMAIL PROTECTED]> wrote: You are saying to use Apache 2.0.59 rather than 2.2.4? Yes. - Perrin

Re: Having problems installing mod_perl on Slackware

2007-03-23 Thread Eric Snyder
t, pid=7601 END in modperl_extra.pl, pid=7601 [Thu Mar 22 21:39:52 2007] [info] removed PID file /usr/src/mod_perl-2.0.3/t/logs/httpd.pid (pid=7597) [Thu Mar 22 21:39:52 2007] [notice] caught SIGTERM, shutting down END in modperl_extra.pl, pid=7597 Perrin Harkins wrote: On 3/22/07, Eric Snyder <[EMAIL PROTECTED]> wrote: [ error] error running tests (please examine t/logs/error_log) What did you find in t/logs/error_log? - Perrin

Apache2::Request->new fails silently?

2007-06-26 Thread Eric Adum
how to debug this. I'm using the binaries of Apache2, mod_perl, etc. provided by Debian etch: ii apache22.2.3-4 ii libapache2-mod-apreq2 2.08-4 ii libapache2-mod-perl2 2.0.2-2.4 Any ideas on what I can do? TIA, Eric

Re: Apache2::Request->new fails silently?

2007-06-26 Thread Eric Adum
Ack -- ignore that, problem solved. I wasn't loading the apreq2 module in my apache2.conf file. On 6/26/07, Eric Adum <[EMAIL PROTECTED]> wrote: Hi, I'm trying to write a handler for mod_perl 2.0. I have a sub of the form sub handler { my $r = shift; my $req = Apache2:

Approach to Configuring Apache with Perl -- multiple servers in cluster

2008-08-07 Thread Berg, Eric
ou configure the items listed above. Is there any reason to set any of them earlier rather than later? - Is there a way to set a sort of "global" config item that can easily be retrieved so that I can set a variable early on that can be used later in the configurat

RE: Approach to Configuring Apache with Perl -- multiple servers in cluster

2008-08-07 Thread Berg, Eric
heir configurations segregated logically and in such a way as to make it easy to remove their Include lines appeal to me. Thanks again, guys. Eric > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Perrin Harkins > Sent: Thursday, Aug

RE: Approach to Configuring Apache with Perl -- multiple servers in cluster

2008-08-11 Thread Berg, Eric
ompute DocumentRoot, ServerRoot and a number of other things, I now have very standard-looking directives, which will make it much easier to support. Thanks again. Eric Thanks for the great idea, guys. > -Original Message- > From: Berg, Eric > Sent: Thursday, August

mp2, IPC::Run3 && Environment Variables giving "variable not set" error

2008-08-11 Thread Berg, Eric
set. These variables are set based on parameters passed into the script, so I can't use PerlSetVar, and I don't think that PerlPassVar is propriate here. Am I missing something? Anybody have any ideas? Thanks Eric D. Berg - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

RE: mp2, IPC::Run3 && Environment Variables giving "variable not set" error

2008-08-15 Thread Berg, Eric
ggested in the docs, but I'm a Perl guy, not a C guy. This is a deal killer for us. I'd appreciate any comments on this. One option seems to be to pass the environment variables if we're not in a threaded (worker) server. Maybe that would work for us. Anybody? Thanks a lot

RE: mp2, IPC::Run3 && Environment Variables giving "variable not set" error

2008-08-16 Thread Berg, Eric
d process, or do they get passed automatically? Just because I wanted to think this thing through... if you fork off a Perl script, for example, and that Perl script forks off another process, that is done using standard forking so the environment is passed to the forked process. That was wha

RE: mp2, IPC::Run3 && Environment Variables giving "variable not set" error

2008-08-16 Thread Berg, Eric
YVAR1="My value" MYVAR2="your value" do_that_thing.cgi'; system( $cmd ); Then MYVAR1 and MYVAR2 will be set to "My value" and "your value", respectively in the environment of the process in which do_that_thing.cgi runs. Links: http://perl.apache.or

What's the Apache 1.x equivalent to Apache2::SubProcess->spawn_proc_prog()?

2008-08-18 Thread Berg, Eric
gt;spawn_proc_prog(), otherwise, it'll use system() or IPC::Run3. So, in order to make sure that this code also runs on some of our servers that might still be running apache 1.x and mod_perl1, I wanted to know what the right way to execute external programs in mod_perl1 is. Thanks. Eric Eric

RE: mod_perl2 STDOUT question

2008-08-20 Thread Berg, Eric
e that these solutions will work for a threaded MPM either. Eric > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Perrin Harkins > Sent: Wednesday, August 20, 2008 12:47 PM > To: Niels Larsen > Cc: modperl@perl.apache.org > Subject: Re

Apache2/MP2/Parllel::ForkManager and Segmentation Faults

2008-08-26 Thread Berg, Eric
ied changing the numbers the prefork mpm to allow for more Clients, more MaxSpareServers. My config isn't tuned at all as you can see: StartServers 5 MinSpareServers 5 MaxSpareServers 15 MaxClients 150 MaxRequestsPerChild 128 Any thoughts or que

RE: Apache2/MP2/Parllel::ForkManager and Segmentation Faults

2008-08-26 Thread Berg, Eric
I'm using Apache::DBI. I stripped out calls to code that use DBI and it still segfaults. I've gone into the code and made sure that any method that does a DBI call also uses $dbh->disconnect; Eric > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECT

RE: Apache2/MP2/Parllel::ForkManager and Segmentation Faults

2008-08-26 Thread Berg, Eric
Hey, Perrin. My DBI calls are within the code that is executed in the loop. Not before. Even so, I tried using $dbh->super::disconnect(), and that had no apparent affect. Still segfaulting. I'm feeling like it's not the DBI stuff. Where else can I look? Eric > -

RE: Apache2/MP2/Parllel::ForkManager and Segmentation Faults

2008-08-27 Thread Berg, Eric
2008] pid 24456 mod_backtrace end of backtrace [Wed Aug 27 18:29:30 2008] [notice] child pid 24456 exit signal Segmentation fault (11), possible coredump in /tmp BTW, no core file was created in /tmp. What do you think? Eric > -Original Message- > From: [EMAIL PROTECTED] [mailto:

RE: Apache2/MP2/Parllel::ForkManager and Segmentation Faults

2008-08-28 Thread Berg, Eric
Does anyone have time to take a look at this? I sure would appreciate being able to move this forward and find a solution. Thanks much in advance. Eric > -Original Message- > From: Berg, Eric > Sent: Wednesday, August 27, 2008 6:33 PM > To: 'Perrin Harki

RE: a require problem

2008-08-29 Thread Berg, Eric
h using do( $file ) or eval( $file ) both had problems in that they did not successfully execute the code in $file. Does that sound like your problem? Folks, is there some kind of setting for mod_perl2 that affects this, or a different way to accomplish this? Eric > -Original Message- &

RE: a require problem

2008-08-29 Thread Berg, Eric
nal Message- > From: Clinton Gormley [mailto:[EMAIL PROTECTED] > Sent: Friday, August 29, 2008 11:19 AM > To: Berg, Eric > Cc: Sean Davis; Jeff Pang; modperl perl apache org > Subject: RE: a require problem > > Is this not a current-working-directory issue? > > T

RE: a require problem

2008-08-29 Thread Berg, Eric
n running as a mod_perl2 registry script, it returns false, even though the file (that does exist) is executable by everyone. Change it back to CGI (not mod_perl) and the same code does work properly. Sorry for the confusion about the actual cause of the problem. Eric > -Original Messag

RE: a require problem

2008-08-29 Thread Berg, Eric
/usr/bin/rcsdiff is EXECUTABLE -rwxr-xr-x 1 root root 49388 Sep 21 2004 /usr/bin/rcsdiff and in a CGI: /usr/bin/rcsdiff is EXECUTABLE -rwxr-xr-x 1 root root 49388 Sep 21 2004 /usr/bin/rcsdiff Same server, CGI vs mod_perl, different behavior. Probably not permissions. But what? Eric > --

RE: a require problem

2008-08-29 Thread Berg, Eric
For me, it's the same on both. What could be the problem here? How can we take the next steps in debugging this? ERic > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, August 29, 2008 3:01 PM > To: Berg, Eric > Cc: mod

RE: a require problem

2008-08-29 Thread Berg, Eric
his problem for demonstration purposes and get back to trying some different versions of apache, Perl and mod_perl to see if this bug was introduced at some point along the development path. Eric > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Perri

Stacktrace of segfault on fork in mp2/perl-5.10

2008-09-04 Thread Berg, Eric
nd of backtrace [Wed Aug 27 18:29:30 2008] [notice] child pid 24456 exit signal Segmentation fault (11), possible coredump in /tmp Eric Berg - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This message is intended only for the personal and confiden

mod_perl2 + ModPerl::RegistryPrefork + Test::Builder = segfault

2008-09-04 Thread Berg, Eric
this problem, or can you help shed some light on the problem to help get us to a solution? <<<<<<<<<<<<<<< Has anybody seen this or anything like it before? Eric - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This m

RE: mod_perl2 + ModPerl::RegistryPrefork + Test::Builder = segfault

2008-09-04 Thread Berg, Eric
which include calls to Test::Builder methods. There's no easy way to turn this off. When you say that we could load it conditionally -- again, not really an option -- are you thinking that we could do a conditional require() and import explicitly or use fully-qualified calls? Eric > -Ori

RE: mod_perl2 + ModPerl::RegistryPrefork + Test::Builder = segfault

2008-09-04 Thread Berg, Eric
> On Thu, Sep 4, 2008 at 6:58 PM, Berg, Eric > > When I say that Test::Builder/Test::More/etc. are tightly > > coupled, I'm talking really entwined. In some cases, we have created a > > class with a bunch of test-related methods that look through the symbol >

Re: Any success with storing photos in a database? (prevents double-submits)

2008-10-15 Thread Eric Howe
ff. $('form').submit(function() { $(this).find(':submit').click(returnFalse); return true; }); }); I don't use the 'disabled' attribute as that prevents the browser (at least some of them) from sendi

Re: A ghost in the machine?

2010-01-14 Thread Eric Howe
ckage MyConfig; >>> >>> use strict; >>> use Exporter; >>> use vars qw(@ISA @EXPORT %CFG ); >>> use ClientConf; >>> @ISA = qw(Exporter); >>> @EXPORT = qw(%CFG &cfg); >>> >>> %CFG = { global vars... }; >>> >>> sub cfg { >>> my $CFG{$clientID} = new ClientConf; >>> return $CFG{$clientID}; >>> } >>> 1; >>> >>> >>> Under normal PERL $vars->{config} is a MyConfig object. Under mod_perl >>> nothing is returned. Debugging with "print" statements in &cfg shows me >>> that "ref $CFG{$clientID}" is ClientConf, the object is there, but upon >>> return it just disappears. >>> >>> I have other functions which "return new MyUser()" and these work >>> perfectly, so I'm thinking that the problem lies with the global variable >>> "$CFG" and that something which I think should be happening is NOT >>> happening. >>> >>> I'm flummoxed... >>> >>> Thank-you for any insights! >>> >>> Tosh >>> > > -- > McIntosh Cooey - Twelve Hundred Group LLC - http://www.1200group.com/ Eric Howe e...@pieinsky.ca

[mp2] TestRun.pm in production-environment generates 'oh Crap, server dumped core' messages. When / why is TestRun.pm active?

2014-01-05 Thread Eric Aarts
My questions are: (1) Why is a function in TestRun.pm active? Seems to me TestRun is for testing? Or when you compile from source? (2) Are these messages meant seriously? (3) When we upgrade to 14.04 (whith a newer mod_perl version), is this solved? Eric 2. Used Components and their Configurati

Re: Alternatives to CGI perl module

2016-09-10 Thread Eric Aarts
, server dumped core Regards, Eric On Sun, Sep 11, 2016 at 8:23 AM, Michael Bochkaryov wrote: > > On Sat, Sep 10, 2016 at 6:18 AM, Igor Chudov wrote: > >> I can, and will of course, install CGI myself as all my sites use it and >> I have 84,000 lines written using it. >

Re: Alternatives to CGI perl module

2016-09-11 Thread Eric Aarts
not for our application I remember some 2 or 3 years ago I posted a topic for this on the forum, but it was not answered On Sun, Sep 11, 2016 at 8:45 AM, Ruben Safir wrote: > On 09/11/2016 02:35 AM, Eric Aarts wrote: > > Only non-issue – and only on stopping/restarting service apac

Re: Log and special characters

2017-08-02 Thread Eric Aarts
What a stunning coincidence… 风河 starting a new conversation ‘MP framework’ just after André his reply on ‘Log and special characters’. Totally agree with you André, as we serve customers all over Europe and in China. Regards, Eric On Wed, Aug 2, 2017 at 11:17 AM, André Warnier (tomcat

using pnotes to store/retrieve Class::DBI objects?

2003-12-18 Thread Eric J. Hansen
erencing the Name property as $existing_dbrecord->{Name} (with braces), but no luck. Have also tried assigning the pnotes value as ('INFO_FOR_LATER' => \$dbrecord), but again not working. Any help? Am guessing this is a syntax issue, but I'm not getting it. FYI, am run

RE: using pnotes to store/retrieve Class::DBI objects?

2003-12-18 Thread Eric J. Hansen
tes) I'm logging the value of "ref $dbrecord" and getting the correct Class::Object value. In the second handler (where I retrieve the object from pnotes and try to access a method), I'm logging the "ref $dbrecord" and getting a blank (""). Seems th

RE: using pnotes to store/retrieve Class::DBI objects?

2003-12-19 Thread Eric J. Hansen
aned up prior to the PerlCleanupHandler stage? FYI, this happens whether or not I define PerlCleanupHandler in the server conf file or dynamically via $r->push_handlers. thanks Eric Perrin last wrote: > > On further investigation, the problem seems to be that the > object is > >

RE: using pnotes to store/retrieve Class::DBI objects?

2003-12-20 Thread Eric J. Hansen
Hurrah! Its working now. Thank you! Eric > > When I try to retrieve this Class::DBI object from the Cleanup > > Handler, the pnotes values are totally gone. However, > regular scalers > > that I've put in 'notes' are still there. Perhaps pnotes has (by

[Fwd: Apache::AuthenNTLM]

2004-01-06 Thread Shannon Eric Peevey
Original Message Subject:Apache::AuthenNTLM Date: Tue, 6 Jan 2004 13:46:16 +0100 (CET) From: Wiebe Kloosterman <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Hallo, I do have problems running Apache::AuthenNTLM i am running the folowing config in httpd.conf Per

[MP ANNOUNCE] Apache-AuthzPasswd-0.12

2004-01-09 Thread Shannon Eric Peevey
The uploaded file Apache-AuthzPasswd-0.12.tar.gz has entered CPAN as file: $CPAN/authors/id/S/SP/SPEEVES/Apache-AuthzPasswd-0.12.tar.gz size: 4916 bytes md5: cfa207588fb4b8d97147711aad23fffd This is an announcement of the newest version of Apache-AuthzPasswd. This version has added: 1.

Re: [Fwd: Apache::AuthenNTLM]

2004-01-09 Thread Shannon Eric Peevey
Hi! Sorry for not getting back sooner!! We have been busy getting to know our 2 month old baby :) when i do change PerlSetVar ntlmdebug to 2 than i get this [20641] AuthenNTLM: Config Domain = xxx pdc = XX100A bdc = XX0001 [20641] AuthenNTLM: Config Default Domain = XXX [20641] AuthenNTLM: C

Re: [Fwd: Apache::AuthenNTLM]

2004-01-09 Thread Shannon Eric Peevey
web server machine? Does it also fail? > small typo in help, must be "PerlSetVar ntlmsemtimeout" but that did also > not help me. Thanks for catching this. I will fix it in the next release. -- Shannon Eric Peevey Computer Systems Manager UNT

Re: [Fwd: Apache::AuthenNTLM]

2004-01-15 Thread Shannon Eric Peevey
Wiebe Kloosterman wrote: Shannon, I found my problem, KeepAlive wasn't turned on. i am sorry Wiebe Kloosterman No problem. Thanks for letting us know the solution. speeves cws -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

[Fwd: NTLM Authentcation]

2004-01-16 Thread Shannon Eric Peevey
Original Message Subject:NTLM Authentcation Date: Thu, 15 Jan 2004 20:14:51 + From: Darryl L Miles <[EMAIL PROTECTED]> Organization: E-Smart Integrations Ltd To: [EMAIL PROTECTED] Hi, Sorry to trouble you but you're name has cropped up in many modperl f

Re: [Fwd: NTLM Authentcation]

2004-01-17 Thread Shannon Eric Peevey
Sorry to trouble you but you're name has cropped up in many modperl forums I've been researching for a solution to my problem, and I also note you're listed as the author of Apache::AuthenNTLM on CPAN but not in the documentation. I have just taken over maintenance :) There is nothing in the d

[Fwd: [Fwd: Apache::AuthenNTLM-2.04 Problems..]]

2004-01-17 Thread Shannon Eric Peevey
--- Begin Message --- Speeves, I've been trying to send this email to the modperl list 2 times now and have a query open with the list owner as to why my subscribed address can not post it. I would be greatful if you could fwd it to the list, since that seems to work for you. But some more b

  1   2   3   >