Re: retrieving cached connections

2006-11-30 Thread Larry Leszczynski
On Thu, 30 Nov 2006, Michael Peters wrote: Maybe you could have Apache::DBI issue a warning if it's being loaded and DBI has already been loaded. Something as simple as the attached patch should work. +# we can only do our magic if DBI isn't already loaded +warn "Apache::DBI must be lo

Re: retrieving cached connections

2006-11-29 Thread Larry Leszczynski
On Wed, 29 Nov 2006, Michael Peters wrote: Maybe you could have Apache::DBI issue a warning if it's being loaded and DBI has already been loaded. Something as simple as the attached patch should work. +# we can only do our magic if DBI isn't already loaded +warn "Apache::DBI must be

Re: [FRIDAY] Trivia Question

2006-02-17 Thread Larry Leszczynski
Why is brian d joy's name uncapitalized on the cover of the 4th edition of the Llama book? It's brian d foy and because he wants it that way: http://www252.pair.com/comdog/style.html

Re: I'm getting max connection errors for Apache::DBI

2006-02-09 Thread Larry Leszczynski
Hi Boysenberry - DBD::mysql::st execute failed: Table 'boysie_habtiat.sessions' doesn't exist at /Users/boysie/mod_perl_inc/Habitat/DB/Select.pm line 95. Shouldn't that be "boysie_habitat.sessions" ? Larry

Re: Persistent DB Connection problem

2005-12-13 Thread Larry Leszczynski
Hi Albert - On Tue, 13 Dec 2005, Albert Vila wrote: I thought the persistent connection was only one for all childs. What happens then if I have 1000 childs each one with 1 db connection? This means 1000 database connections. How do you setup apache + mod_perl in this environment? Typical

Re: Strange $r-print($buffer)/Content-Disposition problem

2005-09-20 Thread Larry Leszczynski
Hi Christopher - I don't know if it's a typo but this: $write_buffer .= "\r\n" . $jpeg . "\r\n\r\n"; $r->print($write_buffer); is not the same as this: $r->print($write_buffer); $r->print($jpeg); $r->print("\r\n\r\n"); since the latter does not insert "\r\n" between $write_buffer and $jpe

Re: Can't get SOAP to work under mod_perl

2005-08-22 Thread Larry Leszczynski
On Mon, 22 Aug 2005, Perrin Harkins wrote: On Mon, 2005-08-22 at 09:37 -0700, Steve Baker wrote: While I'm familiar with Perl, I am less familiar with SOAP and mod_perl. Is there a SOAP-Lite support list? Your problem does not seem to be with mod_perl, but rather with SOAP-Lite. If there's

Re: mod_perl/Apache troubles with cell phone

2005-03-10 Thread Larry Leszczynski
I bet Tom is on the right track about needing to set Content-type correctly, I have run into problems sending to certain text messaging systems because of that. I'd suggest using telnet (or curl or GET or whatever) to see what headers are being sent with the static content that successfully reach

Re: End result of Wiki-ish system design + final question

2005-02-14 Thread Larry Leszczynski
Hi Ben - > > On Feb 12, 2005, at 9:44 PM, ben syverson wrote: > > > > > Maybe the solution is to have 5 or 10 perl > > processes fire up and stay > > > open as daemons, processing these background regen > > requests? Depending on how bulky the regen process is, one option might be to register a P

Re: [BENCHMARK] Server Resources

2005-01-14 Thread Larry Leszczynski
//perl.apache.org/docs/1.0/guide/strategy.html#Adding_a_Proxy_Server_in_http_Accelerator_Mode Lots of other good tuning info at: http://perl.apache.org/docs/1.0/guide/performance.html HTH, Larry Leszczynski

Re: need bandwidth help to mirror the practical modperl book

2004-12-20 Thread Larry Leszczynski
> I've also released a bittorrent, (kindly hosted by prodigem, who hosts > creative commons torrents for free): > > http://www.torrentocracy.com/prodigem/download.php/stas/mod_perl.torrent > > please consider seeding and upload the link to bittorrent indexes (to the > remaining ones). Cool! Stas

Re: Apache::DBI 0.94 - connect_on_init broken?

2004-12-16 Thread Larry Leszczynski
Hi Joshua - On Tue, 14 Dec 2004, Joshua Hoblitt wrote: > > PerlModule DBI > > PerlModule Apache::DBI Try swapping these - Apache::DBI must be loaded before DBI gets loaded. When DBI loads, it checks to see if you're using Apache::DBI and does internal magic if that is the c

mod_perl = Holiday Cheer

2004-12-12 Thread Larry Leszczynski
A web site called "The Inquirer" reports a mod_perl success story: 17,000 Christmas lights controlled by Perl routine http://www.theinquirer.net/?article=20168 The article mentions: "... Using a custom mod_perl module, all the modules to display the page get loaded at once, and Alek

Threaded MPM and performance (was: Re: Variables in memory.)

2004-09-23 Thread Larry Leszczynski
Hi all - > You use interpreter pool size control directives: > http://perl.apache.org/docs/2.0/user/config/config.html#Threads_Mode_Specific_Directives > > > You don't need to prevent anything. It's just that if your server uses > very little modperl and mostly doing static requests, you can have

Re: [mp1] mod_perl interfering with mod_caucho

2004-08-31 Thread Larry Leszczynski
Hello Hector - > I have compiled mod_perl 1.3.29 statically into apache 1.3.27+ApacheSSL, > running on AIX 5.2 > Used: > perl Makefile.PL APACHE_SRC=../apache_1.3.27/src DO_HTTPD=1 USE_APACI=1 > EVERYTHING=1 APACI_ARGS='--enable-module=so --enable-module=rewrite' > > Perl Version : 5.8.5 > Execute

Re: Light image server in low-traffic conditions?

2004-08-03 Thread Larry Leszczynski
On Tue, 3 Aug 2004, Philippe M. Chiasson wrote: > I've had lots of success with a light reverse proxy (httpd or squid) in > front of my mod_perl servers. I would recommend it, as it's simpler than > 2 completely separate servers for dynamic content and static stuff. > > I like squid for this, as

[OT] Re: mod_perl regex conundrum

2004-07-15 Thread Larry Leszczynski
> > Between sawampersand and grep'ing my code, I did find an instance of $&. > > I removed it, but I am still seeing the problem. > > Did you actually use Devel::SawAmpersand to test it? There are other > modules that pull those in, e.g. if you do 'use English'. On a related note, it's possible t

Re: A CGI.pm script

2004-06-14 Thread Larry Leszczynski
Hi David - > MOD_PERL=mod_perl/1.99_07-dev [cut] > It runs fine when accessed with http://hostname/cgi-bin/graffiti.pl. > However, when accessed with http://hostname/cgi-perl/graffiti.pl, I get: > > Server error! > The server encountered an internal error and was unable to complete your > reque

Re: Domain Name PR

2004-06-09 Thread Larry Leszczynski
On Wed, 9 Jun 2004, gunther wrote: > But still having modperl.com as a primary project-name > related domain name would be there for people who can't type _. Plus it will be consistent with other sites like modssl.org. In fact both modssl.com and modssl.org exist, but modssl.com just redirects

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

2004-06-08 Thread Larry Leszczynski
On Tue, 8 Jun 2004, Geoffrey Young wrote: > well, I think it really depends on what you want to accomplish. all the > above really seems like just a perl versus php (or $web_language) debate: > both run on a number of different server platforms, have strong followings, > and are proven scalable

Ticket-based access control across multiple domains?

2004-03-24 Thread Larry Leszczynski
a "otherdomain.com" authentication cookie that product3 will recognize... Does anyone know of existing modules out there that might do what I need, or have general ideas on how to approach the problem? Thanks! Larry Leszczynski -- Report problems: http://perl.apache.org/bugs/ Mail list i

Re: [mp2] Problem w/Set-Cookie header and Internet Explorer

2004-02-23 Thread Larry Leszczynski
eader that describes your site's privacy policies to coerce IE 6 into accepting your cookie headers. Google for P3P and you should be able to find enough info. HTH, Larry Leszczynski -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.h

RE: [mp2] Can I link mp2 statically?

2004-02-09 Thread Larry Leszczynski
f it is still true) used to have problems if you had a dynamically linked mod_perl which then in turn dynaloaded anything else in the modules you used. Larry Leszczynski -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http

Re: conference talks

2004-02-05 Thread Larry Leszczynski
s well as usage statistics/reporting (e.g. per customer, per account, and global usage tracking). Larry Leszczynski -- Reporting bugs: 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: Jumping out of Apache/mod_perl..

2003-12-05 Thread Larry Leszczynski
rticle is a CGI script but could just as easily be a mod_perl handler): http://marc.theaimsgroup.com/?l=apache-modperl&m=104538145031668&w=2 Larry Leszczynski [EMAIL PROTECTED] -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: MP2 -> newbie question, virtual hosts

2003-11-12 Thread Larry Leszczynski
Hi Graeme - Don't be embarrassed - we've all been there before! :-) Larry > On Tue, 11 Nov 2003, Larry Leszczynski wrote: > > I think you mean: > > > > my ($vhostname,$vhostuser,$vhosthomedir,$vhostip) = split / /, $_; > > Oops. > > I

Re: MP2 -> newbie question, virtual hosts

2003-11-11 Thread Larry Leszczynski
tpd.conf. Larry Leszczynski [EMAIL PROTECTED] -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html