Re: load balancing on apache

2001-12-14 Thread Jeff Beard
On Fri, 14 Dec 2001, Perrin Harkins wrote: > > I _really_ hate so-called dedicated boxes. They're closed, nasty, > > inflexible and often don't work in _your_ situation. Doing smart > > session-based redirection can be hard with these boxes. > > You can make it work with homegrown solutions, but

Re: DBI connections build up..

2001-09-12 Thread Jeff Beard
ct; > } Put this before the '1;' or just don't use it. Read the guide front to back: http://perl.apache.org/guide/ HTH. Jeff -- Jeff Beard ___ Web:www.cyberxape.com Email: jeff at cyberxape dot com Earth: Boulder, CO, USA

Re: Children dying

2001-08-14 Thread Jeff Beard
nder > mod_perl. Upgrade to 5.6.1, downgrade to 5.00503, or wait for > 5.8.0 to fix the bug. > > (darren) > > -- Jeff Beard ___ Web:www.cyberxape.com Email: jeff at cyberxape dot com Earth: Boulder, CO, USA

Re: Unexpected PATHINFO behavior under SSL

2001-02-21 Thread Jeff Beard
#x27;s support. Yep. Thanks, Jeff -- Jeff Beard ___ Web:www.cyberxape.com Email: jeff at cyberxape dot com Earth: Boulder, CO, USA

Unexpected PATHINFO behavior under SSL

2001-02-19 Thread Jeff Beard
.5.3 on RH Linux 6.2. mod_perl was built with EVERYTHING=1. All modules were statically built. Perl 5.00503. Ideas? TIA, Jeff -- Jeff Beard ___ Web:www.cyberxape.com Email: jeff at cyberxape dot com Earth: Boulder, CO, USA

Re: Help with configuration - Linux/Mandrake 7.2

2001-02-18 Thread Jeff Beard
ndler perl-script > PerlHandler Apache::Registry > Options ExecCGI > > > Restarted after each change > /etc/rc.d/init.d/httpd restart > > ...but I cannot get the server to parse *.pl files using mod_perl. > >

Re: Apache::Registry, mod_perl interface, and post data

2001-02-16 Thread Jeff Beard
I tried your snippets on two different systems and they worked as expects. What's your config look like? Do you get the 'Post = ()' output from the Registry script? Are you running any other software that might interfere? --Jeff -- Jeff Beard ___

Re: Apache::Registry, mod_perl interface, and post data

2001-02-16 Thread Jeff Beard
On Fri, 16 Feb 2001, Andrew Ho wrote: > > > > I added a button and push it. It works. ;) --Jeff -- Jeff Beard _ Web:www.cyberxape.com Email: jeff at cyberxape dot com Earth: Boulder, CO, USA

Re: Send a cookie, AND a redirect ?

2001-02-08 Thread Jeff Beard
r_out('Location'=>$the_url); > $r->header_out('Set-Cookie' =>$cookie); > $r->send_http_header; > return REDIRECT; > > > Which does not work. > > Thinking about it whilst typing this email, does header_out have a field where i can >set the

Re: mod-perl on Solaris 2.6

2001-01-08 Thread Jeff Beard
Check out the mailing list archive for something I posted a while back. It boiled down to not using GNU binutils for anything. Including GCC. --Jeff -- Jeff Beard _ Web:www.cyberxape.com Email: jeff at cyberxape dot com Earth

Re: persistent database problem

2000-10-23 Thread Jeff Beard
SIDE\n"; > } > > > Differentiated Software Solutions Pvt. Ltd. > 176, Ground Floor, 6th Main, > 2nd Block, RT Nagar > Bangalore - 560032 > Phone : 91 80 3431470 > www.diffs-india.com > -- Jeff Beard ___ Web:www.cyberxape.com Location: Boulder, CO, USA

Re: Apache trouble reading in large cookie contents

2000-10-20 Thread Jeff Beard
There are techniques in the Eagle book for storing data in a cookie. (Check out the discussion on maintaining state) However, in my experience, you'll do better in the long run using something like Apache::Session. It'll be a scalable solution. --Jeff On Fri, 20 Oct 2000, Biggs, Jody wrote: >

Re: Apache 1.3.14 and Mod_Perl

2000-10-17 Thread Jeff Beard
Here's what I would do: Remove the rpm version of apache: # rpm -e If you want to use the start up files that are part of that package just copy them some where since they'll be removed. Build the source version following the directions in the mod_perl document called INSTALL.apaci un

Re: can't build with 1.3.14 apache?

2000-10-14 Thread Jeff Beard
FWIW, I compiled it on Linux with mod_perl 1.24_01 with no problems. I use the method descibed in INSTALL.apaci under the heading "The flexible way". --Jeff On Sat, 14 Oct 2000, Jeremy Hansen wrote: > > For some reason mod_perl-1.24 is failing to configure with apache 1.3.14: > > srv2:/usr/w

Re: Migrating from CGI.pm to (...?), was Re: CGI.pm problem

2000-08-30 Thread Jeff Beard
h I don't use any of the HTML generation features. --Jeff At 10:32 AM 8/30/00 +0400, Alexei V. Barantsev wrote: >Jeff Beard <[EMAIL PROTECTED]> writes: > > > There isn't a Vars() function in CGI.pm. If you're looking for the query > > string try param().

Re: CGI.pm problem

2000-08-29 Thread Jeff Beard
button was pressed and >what string was entered. > >But if I try functional way instead (commented in example) I see that >$args is empty! In single-process mode (httpd -X) both examples work >right. Why? > >(BTW, both examples was tried on clean, just started Apache) > >-- >ab >ICQ: 3959207 Jeff Beard __ Web:www.cyberxape.com Email: jeff at cyberxape dot com Location: Boulder, Colorado, USA

Re: Getting data from external URL

2000-08-28 Thread Jeff Beard
LWP::Simple and as advised by many others LWP::UserAgent for > > more advanced uses. > > >=-=-=-=-=-=-=-=-=-=- My God! What have I done? -=-=-=-=-=-=-=-=-=-= >Steve Reppucci [EMAIL PROTECTED] | >Logical Choice Software http://logsoft.com/ | >508/958-0183 Be Open | Jeff Beard __ Web:www.cyberxape.com Email: jeff at cyberxape dot com Location: Boulder, Colorado, USA

Re: Caching data from db

2000-07-28 Thread Jeff Beard
David Hodgkinson wrote: > > Perrin Harkins <[EMAIL PROTECTED]> writes: > > > On Thu, 27 Jul 2000, Jeff Beard wrote: > > > I have a couple of package globals that I'd like to populate with > > > information from a database when I fire up the web server

Caching data from db

2000-07-27 Thread Jeff Beard
Hi there, I have a couple of package globals that I'd like to populate with information from a database when I fire up the web server in order to take advantage of memory sharing (they'll be used every time the program runs and I don't want to run a db query every time). I thought it might be as

RE: Help needed for using Apache::DBI

2000-07-18 Thread Jeff Beard
on how to use and set up Apache::DBI: > >http://perl.apache.org/guide/databases.html#Apache_DBI_Initiate_a_persist >http://search.cpan.org/doc/MERGL/ApacheDBI-0.87/DBI.pm > Jeff Beard __ Web:www.cyberxape.com Email: jeff at cyberxape dot com Location: Boulder, Colorado, USA

Re: Header Sending Bug?

2000-05-14 Thread Jeff Beard
his been reported like a kajillion times (in which case someone >will politely reach their virtual hand out and smack me upside the >head) or is this a sufficiently out-of-the-way sort of error that >people haven't reported it yet? At any rate, I'd just be tickled >pink if

Re: Apache::DBI->connect_on_init in BEGIN?

2000-05-14 Thread Jeff Beard
svante sörmark wrote: >yeah, i know about startup.pl, and i have been using it until now, >but the goal here was to avoid having to put the same configuration >in two different files :). > >Jeff Beard wrote: > > > > Checkout the sample startup.pl that comes with Apache::

Re: Apache::DBI->connect_on_init in BEGIN?

2000-05-14 Thread Jeff Beard
a clever solution to this? i've resorted to `grep`ing >httpd.conf for the DBI_INFO string, but that is sooo ugly. > >thanks. >-- > >Svante Sörmark | Chalmers University I

Re: Best approach for loading several modules

2000-05-11 Thread Jeff Beard
t this could be ideal we don't >want to lose the flexibility in debugging our scripts from the command line >(we are still in the tentative mod_perl should we commit / shouldn't we >commit experimental stage). > >Is PerlRequire really the only solu

Re: growing processes

2000-05-09 Thread Jeff Beard
ecute(); > $bar = $sth->fetchrow(); > $sth->finish; >} > >-- > >package MyStuff; > >use strict; >use DBI; > ># export dbConnect, etc > >sub dbConnect { > my $dbh = DBI->connect(args,to,dbi); &

Re: growing processes

2000-05-08 Thread Jeff Beard
686 unknown > >Thanks, > >Wim Kerkhoff, Software Engineer >NetMaster Networking Solutions >[EMAIL PROTECTED] Jeff Beard _ Web:www.cyberxape.com Email: jeff at cyberxape.com Location: Boulder, CO, USA

Re: perl.conf file

2000-05-05 Thread Jeff Beard
r. If I put everything in the httpd.conf then the >program works fine. Is perl.conf part of Apache? > >James >[EMAIL PROTECTED] Jeff Beard _ Web:www.cyberxape.com Email: jeff at cyberxape.com Location: Boulder, CO, USA

Re: Apache 1.3.12+mod_perl + mod_ssl + FP extensions

2000-05-05 Thread Jeff Beard
will try to patch Apache, and I'm not sure >what's the proper order of installation. Any and all help is greatly >appreciated. > >Regards, >Rafael Jeff Beard _ Web:www.cyberxape.com Email: jeff at cyberxape.com Location: Boulder, CO, USA

Re: Apache.pm failed to LOAD!

2000-05-03 Thread Jeff Beard
talled successfully (at least the installation >program told me so...) >But when I start httpd using apachectl start, httpd did not start within >error_log there is a message "Apache.pm failed to LOAD!" >Any one have any ideal? Thanks in advance >P C Wang Jeff B

Re: Can't use Apache::exit() in command-line scripts

2000-05-03 Thread Jeff Beard
uot;strict subs" in use at >as/mod/Util.pm > line 546 >** > >So, how can I get the command-line scripts to run under Apache::Registry? >Adding 'use Apache;' to my command-line scripts obviously doesn't help. > >Any help

Re: where to find info on the Apache request object

2000-04-30 Thread Jeff Beard
quest > >object. Can anyone point me to some documentation? I didn't see a > >listing in "Writing Apache Modules in Perl and C". > > > >Sam > >try 'perldoc Apache' > >Tobias Jeff Beard _ Web:

Re: Install probs.

2000-04-28 Thread Jeff Beard
pache completed >make install with no probs (well it runs anyway) > >any ideas? Jeff Beard _ Web:www.cyberxape.com Email: jeff at cyberxape.com Location: Boulder, CO, USA

Re: newbie help installation problems modperl/apache

2000-04-26 Thread Jeff Beard
At 11:07 PM 4/25/00, [EMAIL PROTECTED] wrote: > On the various lists to which I tried to get help, the silence >was deafening. Probably 'cause I was the only one that didn't see that your work supports pornographers. Oh well. --Jeff Jeff Beard ___

Re: adding HTTP Headers

2000-04-24 Thread Jeff Beard
ut how do I add something similar to static HTML pages? >On IIS4/5, there is a "CUSTOM HTTP Header" and "Content Expiration" >settings. > >Is there a similar setting with Apache? > >Jaime Jeff Beard ___ Web:www.cyberxape.com Phone: 303.443.9339 Location: Boulder, CO, USA

Re: Implementing security in CGI

2000-04-20 Thread Jeff Beard
nce standpoint, this would be preferable. You just have to be more disciplined in the way you code. And yes, Apache::Session works under regular CGI. --Jeff Jeff Beard ___ Web:www.cyberxape.com Phone: 303.443.9339 Location: Boulder, CO, USA

Re: Implementing security in CGI

2000-04-20 Thread Jeff Beard
gt; >Of course, on Apache it may be easier by using mod_rewrite to manipulate >the URL itself in cool ways. And then there's this cool technology called mod_perl that one could use to see if a cookie can be set and if not, then start twiddling PATH_INFO. :) --Jeff Jeff Beard

Re: Implementing security in CGI

2000-04-19 Thread Jeff Beard
or, 6th Main > >>2nd Block RT Nagar > >>Bangalore - 560 032 > >>India > >>Ph: 91 80 3431470 > >>email : diffs+AEA-vsnl.com > >>http://www.diffs-india.com > >> > >>Differentiated Software Solutions Pvt. Ltd., > >>176, Gr. Floor, 6th Main > >>2nd Block RT Nagar > >>Bangalore - 560 032 > >>India > >>Ph: 91 80 3431470 > >>email : diffs+AEA-vsnl.com > >>http://www.diffs-india.com > > > >__ > >Gunther Birznieks ([EMAIL PROTECTED]) > >Extropia - The Web Technology Company > >http://www.extropia.com/ Jeff Beard ___ Web:www.cyberxape.com Phone: 303.443.9339 Location: Boulder, CO, USA

Re: Apache::Session beginner

2000-04-16 Thread Jeff Beard
At 07:43 PM 4/16/00, Tom Peer wrote: >Does anyone know any good resources for learning about Apache::Session ? > >Thanks, > >Tom Jeff Beard ___ Web:www.cyberxape.com Phone: 303.443.9339 Location: Boulder, CO, USA

Re: [RFC] Exceptions addition for the guide.

2000-04-08 Thread Jeff Beard
Also, checkout Graham Barr's Error.pm for an OO styled "try, throw, catch" model. Really nice for a complete OO Perl design, IMHO. --Jeff The one I use is a customized version but it's basically the OO "try, throw, catch" model that I've seen in other languages. On Sat, 8 Apr 2000, Autarc

Re: dumb beginner question

2000-04-04 Thread Jeff Beard
e one place to >change it problem, but I am not getting it. > >Something like >con.txt >my $dbh ||= DBI->connect("dbi:Oracle:host=red.home.com;sid=RED", 'scott', >'tiger') || die "Can't connect to : DBI->errstr"; > >and

Re: Installation

2000-03-30 Thread Jeff Beard
HTTPD=1 USE_APACI=1 EVERYTHING=1 > % make && make test && make install > % cd ../apache_x.x.x > % make install Jeff Beard ___ Web:www.cyberxape.com Phone: 303.443.9339 Location: Boulder, CO, USA

Re: www.modperl.com

2000-01-30 Thread Jeff Beard
gt; general. Any votes on which examples you'd like to see put online? > > > > > > Lincoln > > > > > > -- > > > ==== > > > Lincoln D. Stein Cold Spring Harbor Laboratory > > > [EMAIL PROTECTED] Cold Spring Harbor, NY > > > > > > Jeff Beard ___ Web:www.cyberxape.com Phone: 303.443.9339 Location: Boulder, CO, USA

Re: APACI_ARGS=' ... '

2000-01-30 Thread Jeff Beard
he 1.3.9 >mod_perl 1.21 > >??? Any ideas ??? >____ >Bill Jones * Systems Programmer * http://www.fccj.org/cgi/mail?sneex > >('> Running - >//\ Perl, Apache, MySQL, PHP3, >v_/_ Ultra 10, LinuxPPC, BeOS... Jeff Beard ___ Web:www.cyberxape.com Phone: 303.443.9339 Location: Boulder, CO, USA

Re: make test fails

2000-01-30 Thread Jeff Beard
sting this to the list so it's get archived in case others miss this detail as well. Thanks again. --Jeff At 09:07 AM 1/28/00 +, G.W. Haywood wrote: >Hi there, > >On Thu, 27 Jan 2000, Jeff Beard wrote: > > > running make test fails and produces the errors listed a

Re: question, blessing objects, modifying them

2000-01-27 Thread Jeff Beard
>$some_person = People::SomePerson->new; > >how do I change the first_name, last_name, email_address variables? >Would it be like this, if I'm doing it from inside the SomePerson >object: > >$self->{first_name} = "Etienne"; > >and like this from a regular cgi script: > >$some_person->first_name = "Etienne"; > >or how? > >Thanks in advance, > >Etienne Jeff Beard ___ Web:www.cyberxape.com Phone: 303.443.9339 Location: Boulder, CO, USA

make test fails

2000-01-27 Thread Jeff Beard
ke test errors: [Thu Jan 27 13:51:41 2000] [error] Can't load '/usr/local/lib/perl5/5.00503/sun4-solaris/auto/IO/IO.so' for module IO: ld.so.1: ../apache_1.3.11/src/httpd: fatal: relocation error: file /usr/local/lib/perl5/5.00503/sun4-solaris/auto/IO/IO.so: symbol main

Re: Intercepting CGI.pm Header

1999-12-06 Thread Jeff Beard
r($r); >select $stdout; >} else { > ... Static page >} > >Extract body from $page and put it a template Jeff Beard Web Systems Engineer World Wide Web Associates Web: http://wwwa.com Phone: 303.545.2399

Re: DBI/Sessions/Embperl

1999-11-27 Thread Jeff Beard
rintError => 1, > RaiseError => 1, > } > ) || die $DBI::errstr; > > return($dbh) > } > > else { > # warn "No need to change!\n"; > return($dbh) > } > >} Jeff Beard Web Systems Engineer World Wide Web Associates Web: http://wwwa.com Phone: 303.545.2399

RE: syntax error parsing httpd.conf

1999-10-04 Thread Jeff Beard
rnered the process that was changing the perms on it, I had to remove it and mknod it again. --Jeff Jeff Beard Web Systems Engineer World Wide Web Associates Web: http://wwwa.com Phone: 303.545.2399 :-Original Message- :From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On :Behalf Of Dmitr