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 I've

Re: DBI connections build up..

2001-09-13 Thread Jeff Beard
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
, 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

Unexpected PATHINFO behavior under SSL

2001-02-19 Thread Jeff Beard
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
erl-script PerlHandler Apache::Registry Options ExecCGI /Files Restarted after each change /etc/rc.d/init.d/httpd restart ...but I cannot get the server to parse *.pl files using mod_perl. Any ideas? Thanks. --

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

2001-02-16 Thread Jeff Beard
On Fri, 16 Feb 2001, Andrew Ho wrote: form method="post" action="post.pl" input type="hidden" name="hello" value="world" /form I added a button and push it. It works. ;) --Jeff -- Jeff Beard ___

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

2001-02-16 Thread Jeff Beard
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 ___ Web:www.cyberxape.com Email: jeff

Re: Send a cookie, AND a redirect ?

2001-02-08 Thread Jeff Beard
a field where i can set the REDIRECT status? Thanks in advance, Richard Harrison. -- Jeff Beard _ Web:www.cyberxape.com Email: jeff at cyberxape dot com Earth: Boulder, CO, USA

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

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

2000-08-30 Thread Jeff Beard
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(). Or if you want to make it a mod_perl program (which is what you would

Re: CGI.pm problem

2000-08-29 Thread Jeff Beard
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
any 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

Re: Caching data from db

2000-07-28 Thread Jeff Beard
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 [...] I thought it might be as simple a declaring

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

RE: Help needed for using Apache::DBI

2000-07-18 Thread Jeff Beard
something to this effect: IF AT ALL ANYBODY KNOWS HOW TO MAKE APACHE::DBI WORK,PLEASE HELP The guide is quite clear 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

Re: Header Sending Bug?

2000-05-14 Thread Jeff Beard
heir 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 someone fixed it. Yours, David Weekly Jeff Beard _ Web:www.c

Re: Apache::DBI-connect_on_init in BEGIN?

2000-05-14 Thread Jeff Beard
mark 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::DBI. --Jeff At 05:08 PM 5/14/00, svante sör

Re: Best approach for loading several modules

2000-05-11 Thread Jeff Beard
pts 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 solution? Thanks for any ideas, Martin Jeff Beard _ Web:www.cyberxape.com

Re: growing processes

2000-05-09 Thread Jeff Beard
ff; use strict; use DBI; # export dbConnect, etc sub dbConnect { my $dbh = DBI-connect(args,to,dbi); return $dbh; } 1; # end of MyStuff; --- Jeff Beard _ Web:www.cyberxape.com Email:

Re: Apache 1.3.12+mod_perl + mod_ssl + FP extensions

2000-05-05 Thread Jeff Beard
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: perl.conf file

2000-05-05 Thread Jeff Beard
ng 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: Can't use Apache::exit() in command-line scripts

2000-05-03 Thread Jeff Beard
d/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 is greatly appreciated. Here's my set up. modperl 1.21 Apache 1.36 Solar

Re: Apache.pm failed to LOAD!

2000-05-03 Thread Jeff Beard
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 Beard ___

Re: where to find info on the Apache request object

2000-04-30 Thread Jeff Beard
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:www.cyberxape.com Email: jeff at cyberxape.com Location: B

Re: Install probs.

2000-04-28 Thread Jeff Beard
erl.c" and it won't make. make and make test on mod_perl both complained about libwww missing, but all the install notes said this isn't absolutely required. without the activate-module=src/modules/perl/mod_perl.c apache completed make install with no probs (well it runs anyway) any ideas?

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 ___ Web

Re: adding HTTP Headers

2000-04-24 Thread Jeff Beard
TML 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
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: Apache::Session beginner

2000-04-16 Thread Jeff Beard
/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,

Re: dumb beginner question

2000-04-04 Thread Jeff Beard
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 then in the cgi file say somthing like: include(con.txt) There must be an easy way to do this! Thanks Jeff Beard ___

Re: Installation

2000-03-30 Thread Jeff Beard
/dist/mod_perl-x.xx.tar.gz % tar xzvf apache_x.x.x.tar.gz % tar xzvf mod_perl-x.xx.tar.gz % cd mod_perl-x.xx % perl Makefile.PL APACHE_SRC=../apache_x.x.x/src \ DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 % make make test make install % cd ../apache_x.x.x % make install Jeff

Re: APACI_ARGS=' ... '

2000-01-30 Thread Jeff Beard
//\ Perl, Apache, MySQL, PHP3, v_/_ Ultra 10, LinuxPPC, BeOS... Jeff Beard ___ Web:www.cyberxape.com Phone: 303.443.9339 Location: Boulder, CO, USA

make test fails

2000-01-27 Thread Jeff Beard
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: referenced symbol not found at /usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169. Jeff Beard _

Re: question, blessing objects, modifying them

2000-01-27 Thread Jeff Beard
ript: $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

Re: Intercepting CGI.pm Header

1999-12-06 Thread Jeff Beard
=== if ($r-filename =~ /\.perl$/ ) { # Registry-Skript tie *SH,'IO::Scalar', \$PAGE; my $stdout = select SH; Apache::Registry::handler($r); select $stdout; } else { ... Static page } Extract body from $page and put it a template Jeff Beard Web