Re: mod_perl and DBI

1999-11-02 Thread Stas Bekman
> I'm making a first attempt to run a working Perl CGI run under mod_perl. > It uses perl dbi successfully under CGI. When invoking the script under > mod_perl, I get the following error: > > [Tue Nov 2 11:49:43 1999] [error] Can't load > '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI/DBI.

RE: Embperl file Upload (was: preload scripts at startup?)

1999-11-02 Thread Gerald Richter
Hi, > > > I think I found a bug in Embperl.pm about file upload. When I > used HTML type=file name=...> tag to upload a file, Embperl crashed with > error message > like this: "Cannot modify read-only value ... in Embperl.pm line > 774.", IF the > uploaded filename starts with non-alpha character

Re: mod_perl 2.21 segmentation fault

1999-11-02 Thread Ask Bjoern Hansen
On Tue, 2 Nov 1999, Radovan Semancik wrote: > I have a serious problem with mod_perl 2.21. I get a strange error > with my modules running under it, sometimes it gets SEGV, sometimes > bus error, sometimes some strange perl "internal" errors ... looks > very strange .. Do you have mod_perl stati

mod_perl list(s) administrativa (was: OT: database redundancy in web env)

1999-11-02 Thread Ask Bjoern Hansen
On Wed, 3 Nov 1999, Renzo Toma wrote: > I love to hear from Ask, imdb guys (Rob you alive?!) or anyone else > offcourse how they maintain ~100% uptime. And again sorry for the > off-topic. Please please please take it somewhere else, maybe the DBI list as you suggested yourself. I would be happ

Re: Apache::ASP

1999-11-02 Thread Joshua Chamas
Adi wrote: > > Andrew Mayo wrote: > > > > We are trying to store references in session variables but for some reason > > this does not work. The reference cannot be regained. > > > > For example, in simple Perl I can create an array containing two anonymous > > hashes, then place a reference to t

Re: Apache::ASP

1999-11-02 Thread Adi
Andrew Mayo wrote: > > We are trying to store references in session variables but for some reason > this does not work. The reference cannot be regained. > > For example, in simple Perl I can create an array containing two anonymous > hashes, then place a reference to this array in > $d, then de

Re: embperl - EMBPERL_MAIL_ERRORS_TO - trigger

1999-11-02 Thread Gerald Richter
> > I would like to be able to trigger an "error" so that the log section > associated with that embperl session gets mailed to me when > that session closes. > > This is for errors in my logic or processing problems which are not > fatal enough to cause embperl to fail on its own. > You can tr

RE: Embperl and StarOffice problem

1999-11-02 Thread Gerald Richter
> > I am currently using the StarOffice HTML editor to edit my > Embperl programs. The problem I have is that it generates HTML > that separates lines exceeding 80 characters with a newline. This > 'readability' feature has the effect of separating my perl > comments into two lines, which creates

Re: mod_perl 2.21 segmentation fault

1999-11-02 Thread Jeffrey Baker
> glibc 2.0.7 ^^^ Maybe you should consider upgrading to a non-experimental libc. Aside from that, I have no clue. I know dozens of people who use this same setup, and they all work out fine. Did you compile everything together yourself? What happense when you remove mod_perl or mo

Re: Checking for valid dates

1999-11-02 Thread Jeffrey Baker
"Michael J. Miller" wrote: > > I did this using a JavaScript function that runs before the form is > submitted to validate the date locally (in the client, using JavaScript > Date objects) before submission. Has the side benefit of giving the > user real time feed back as well without a send bac

Re: Failing to reconnect after Oracle "shutdown abort" (Apache::DBI)

1999-11-02 Thread Jeffrey Baker
Greg Stark wrote: > >*** From dbi-users - To unsubscribe, see the end of this message. *** >*** DBI Home Page - http://www.symbolstone.org/technology/perl/DBI/ *** > > Tim Bunce <[EMAIL PROTECTED]> writes: > > > On Mon, Nov 01, 1999 at 09:01:48PM +, Tim Bunce wrote: > > > Has anyo

referenced symbol not found error

1999-11-02 Thread Arkadiy Goykhberg
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hello, I'm trying to compile mod_perl-1.21 as DSO module for apache version 1.3.9 on Solaris 2.6 using gcc version 2.8.1 and perl version 5.00562. Right now I'am using out the box vanilla configuration of apache. Everyth

RE: Memory problems

1999-11-02 Thread clinton
Thanks Greg > I strongly suggest you move the images to a separate hostname > altogether. The > proxy is a good idea but there are other useful effects of > having a separate > server altogether that I plan to write about in a separate > message sometime. > This does mean rewriting all your img t

Re: Checking for valid dates

1999-11-02 Thread Michael J. Miller
I did this using a JavaScript function that runs before the form is submitted to validate the date locally (in the client, using JavaScript Date objects) before submission. Has the side benefit of giving the user real time feed back as well without a send back to the server Brgds, Mike. O

mod_perl 2.21 segmentation fault

1999-11-02 Thread Radovan Semancik
Hi! I have a serious problem with mod_perl 2.21. I get a strange error with my modules running under it, sometimes it gets SEGV, sometimes bus error, sometimes some strange perl "internal" errors ... looks very strange .. Please, help me how to debug these strange errors, everythings seems to wo

Embperl and StarOffice problem

1999-11-02 Thread claudio.garcia
I am currently using the StarOffice HTML editor to edit my Embperl programs. The problem I have is that it generates HTML that separates lines exceeding 80 characters with a newline. This 'readability' feature has the effect of separating my perl comments into two lines, which creates syntax e

mod_perl and DBI

1999-11-02 Thread Dan Srebnick
I'm making a first attempt to run a working Perl CGI run under mod_perl. It uses perl dbi successfully under CGI. When invoking the script under mod_perl, I get the following error: [Tue Nov 2 11:49:43 1999] [error] Can't load '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI/DBI.so' for modu

Re: Memory Leaks?

1999-11-02 Thread Ben Bell
On Sun, Oct 31, 1999 at 11:33:19PM -0800, Doug MacEachern wrote: > sounds like you have PerlFreshRestart On, try turning it Off. scan the > archives for more info. I have tried both ways. Also, the mail archives say that this is a bug that was fixed in 1.21 (which I am running). I've done some mo

Apache::ASP

1999-11-02 Thread Andrew Mayo
We are trying to store references in session variables but for some reason this does not work. The reference cannot be regained. For example, in simple Perl I can create an array containing two anonymous hashes, then place a reference to this array in $d, then dereference $d to recover the array.

Re: Session state without cookies

1999-11-02 Thread Ask Bjoern Hansen
On Sun, 31 Oct 1999, Trei B. wrote: [...] > Couldn't we do some regex on the environment variable HTTP_REFERER to grab > the session id from a request? That only works for one "click". (the next click won't have the id anymore, except maybe if you do a redirect every time - very ugly). If poss

Re: OT: database redundancy in web env

1999-11-02 Thread patrick
On 3 Nov, Renzo Toma wrote: > > Hi guys, I know its totally off-topic and prolly better suited for the > DBI list. But I believe this list is read by more experienced people. > Anyways my apologies. Then please take it there! I'm getting tired of off topic questions on this list. Patrick PGP

make test errors

1999-11-02 Thread Scott R. Every
trying to install mod_perl and everything appears to compile fine, but a make test gives the following errors: make[1]: Leaving directory `/data/test/ssl_apache/mod_perl-1.21/Util' ../apache_1.3.9/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t & httpd listening on port 8529 will write error_lo

mod_perl programming logic error

1999-11-02 Thread Michael Douglass
(Note: I'm no longer on the mailing list; so if you wish to respond to me, please be certain to include my email address in the response. Also, [EMAIL PROTECTED] no longer works FYI. Thanks.) Granted we're running an older copy of mod_perl; but when we noticed that we were getting hammered by t

OT: database redundancy in web env

1999-11-02 Thread Renzo Toma
Hi guys, I know its totally off-topic and prolly better suited for the DBI list. But I believe this list is read by more experienced people. Anyways my apologies. I am looking for working setups for database redundancy in a web environment; 24/7 stuff!! Using a farm of machines running mod_perl

[Rasmus Lerdorf ] Not to be argumentative, but...

1999-11-02 Thread Randal L. Schwartz
Oops... :-) > I don't think Slashdot or Freshmeat or Deja or Valueclick or IMDB would > be the same with PHP instead of mod_perl. 9:08pm ~> socksify telnet www.freshmeat.net 80 Trying 209.207.224.212... Connected to freshmeat.net. Escape character is '^]'. HEAD / HTTP/1.0 HTTP/1.1 200 OK D

validating dates

1999-11-02 Thread Tubbs, Derric L
Sorry that I had put this on the modperl list. I got several responses both on the list and privately and they solved my problem. Thanks Derric L. Tubbs CITIS Administrator Boeing - Fort Walton Beach, Florida [EMAIL PROTECTED] (850)302-4494

embperl - EMBPERL_MAIL_ERRORS_TO - trigger

1999-11-02 Thread Cliff Rayman
I would like to be able to trigger an "error" so that the log section associated with that embperl session gets mailed to me when that session closes. This is for errors in my logic or processing problems which are not fatal enough to cause embperl to fail on its own. cliff rayman genwax.com

RE: Checking for valid dates <-- off topic!

1999-11-02 Thread Tubbs, Derric L
Sorry about that, you're absolutely right. I got several responses and they solved my problem. Thanks. And now back to the topic ... > -- > From: Neil Kandalgaonkar[SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, November 02, 1999 12:40 PM > To: Tubbs, Derric L; '[EMAIL PROT

Re: setting cookies?

1999-11-02 Thread Wyman Eric Miles
Success! The problem is, the tokencode sent by the user expires the instant its validity is determined. That the browser caches this and returns it over and over is not only a nuisance, it can cause the SecurID server to disable the token. Problem was, the client kept coughing up an invalid co

Re: Checking for valid dates <-- off topic!

1999-11-02 Thread Neil Kandalgaonkar
At 10:33 -0800 1999-11-02, Tubbs, Derric L wrote: >Is there a reasonably easy method to make sure that an entered date is >valid, I.E. is not 30 Jan 99? I am using Time::Local to convert a date >entered through an HTML form into the epoch offset (or whatever you call it) >and would like to make s

Re: setting cookies?

1999-11-02 Thread Greg Stark
I think if you send a 401 in response to a request that contained auth data the user will typically see a "Authentication failed" box, which may look bad compared to just getting the password dialog. Actually I couldn't get this to work a while back, but I didn't try very hard. "Andrei A. Voro

Re: Memory problems

1999-11-02 Thread Greg Stark
Stas Bekman <[EMAIL PROTECTED]> writes: > > I had huge problems yesterday. Our web site made it in to the Sunday > > Times and has had to serve 1/2 million request in the last 2 days. > > Oh, I thought there was a /. effect, now it's a sunday effect :) The original concept should be credited

Re: Checking for valid dates

1999-11-02 Thread Jeffrey Baker
"Tubbs, Derric L" wrote: > > Is there a reasonably easy method to make sure that an entered date is > valid, I.E. is not 30 Jan 99? I am using Time::Local to convert a date > entered through an HTML form into the epoch offset (or whatever you call it) > and would like to make sure that valid dat

Re: Failing to reconnect after Oracle "shutdown abort" (Apache::D BI)

1999-11-02 Thread Greg Stark
"Young, Geoffrey S." <[EMAIL PROTECTED]> writes: > > Incidentally, I have also noticed that on my Linux installation Oracle will > not shutdown (or shutdown abort) while any of the httpd processes have > persistent connections. That is, httpd must come down first for Oracle to > shutdown cleanl

Re: Failing to reconnect after Oracle "shutdown abort" (Apache::DBI)

1999-11-02 Thread Greg Stark
Tim Bunce <[EMAIL PROTECTED]> writes: > On Mon, Nov 01, 1999 at 09:01:48PM +, Tim Bunce wrote: > > Has anyone experienced a situation where a process (httpd for example) > > can't reconnect to Oracle after a "shutdown abort"? > > Thanks for your replies. > > The problem reported to me whic

Checking for valid dates

1999-11-02 Thread Tubbs, Derric L
Is there a reasonably easy method to make sure that an entered date is valid, I.E. is not 30 Jan 99? I am using Time::Local to convert a date entered through an HTML form into the epoch offset (or whatever you call it) and would like to make sure that valid dates are entered. Thanks Derric L. T

Re: [Perl Q]: Calendar function

1999-11-02 Thread Naren Dasu
Hi, Check out the man pages for strftime and and the perldoc pages for localtime for more detailed info. For example ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); $currentDate = POSIX::strftime("%Y%m%d", localtime(time)); Hope this helps naren At 10

Re: setting cookies?

1999-11-02 Thread Andrei A. Voropaev
On Mon, Nov 01, 1999 at 05:03:58PM -0500, Robin Berjon wrote: > I've never tried this but doesn't sending two 401s in a row for the same > document have the auth popup appear again ? I feel like this topic gets slightly confusing. Browser sends request, gets 401 back, asks user for username and p

OT: Re: mod-perl logo

1999-11-02 Thread Keith G. Murphy
Chris Thompson wrote: > > On Mon, Nov 01, 1999 at 04:42:50PM -0400, Neil Kandalgaonkar wrote: > > Joshua Chamas <[EMAIL PROTECTED]> wrote: > > That said, they do allow non-profits and others to use the camel, e.g. the > > Perl Mongers. It's not evil, they're just trying to protect a trademark > >

Re: Failing to reconnect after Oracle "shutdown abort" (Apache::DBI)

1999-11-02 Thread Jeffrey W. Baker
Greg Stark wrote: > > Tim Bunce <[EMAIL PROTECTED]> writes: > > > Has anyone experienced a situation where a process (httpd for example) > > can't reconnect to Oracle after a "shutdown abort"? > > > > Tim. > > As far as I can tell we never get a clean reconnection after any sort of > connection

Re: Memory problems

1999-11-02 Thread Stas Bekman
> I had huge problems yesterday. Our web site made it in to the Sunday > Times and has had to serve 1/2 million request in the last 2 days. Oh, I thought there was a /. effect, now it's a sunday effect :) > Had I set it up to have proxy servers and a separate mod_perl server? > No. DOH! So wh

Re: [Perl Q]: Calendar function

1999-11-02 Thread Stas Bekman
> [sorry for the OT] I'm about to develop a monthly calendar, > something akin to netscape's scheduler. To start, I'm looking for a > reliable function to calculate each day of any given month/year. > > Or pointers to a usable formula to calculate it. > > I don't really mind doing it

Memory problems

1999-11-02 Thread Clinton Gormley
Hi I had huge problems yesterday. Our web site made it in to the Sunday Times and has had to serve 1/2 million request in the last 2 days. Had I set it up to have proxy servers and a separate mod_perl server? No. DOH! So what happened to my 1Gig baby? It died. A sad and unhappy death. I am i

[Perl Q]: Calendar function

1999-11-02 Thread Martin A. Langhoff
hi list, [sorry for the OT] I'm about to develop a monthly calendar, something akin to netscape's scheduler. To start, I'm looking for a reliable function to calculate each day of any given month/year. Or pointers to a usable formula to calculate it. I don't really mind doing it mys

Re: Failing to reconnect after Oracle "shutdown abort" (Apache::DBI)

1999-11-02 Thread Tim Bunce
On Mon, Nov 01, 1999 at 09:01:48PM +, Tim Bunce wrote: > Has anyone experienced a situation where a process (httpd for example) > can't reconnect to Oracle after a "shutdown abort"? Thanks for your replies. The problem reported to me which prompted this email has actually proven to be a user

RE: Failing to reconnect after Oracle "shutdown abort" (Apache::DBI)

1999-11-02 Thread Young, Geoffrey S.
I can second that... I've had the listener time out and the httpd process never picks up a new connection. I have also seen where a perl script encounters an OCI error (usually my fault ;) after the connection and the httpd child can never connect again. Incidentally, I have also noticed that o

installation problems with mod_perl

1999-11-02 Thread Eva Neuberger
Hi, I am installing apache_1.3.6 and mod_perl_1.21 with Perl 5.005_02 and on Linux Suse 6.0 . I untar them in two subdirectories on the same homedirectory, then I changed into the mod_perl directory and typed (as root): perl Makefile.PL APACHE_SRC=../apache_1.3.6/src APACHE_PREFIX=/usr/local/a

Re: Failing to reconnect after Oracle "shutdown abort" (Apache::DBI)

1999-11-02 Thread Greg Stark
Tim Bunce <[EMAIL PROTECTED]> writes: > Has anyone experienced a situation where a process (httpd for example) > can't reconnect to Oracle after a "shutdown abort"? > > Tim. As far as I can tell we never get a clean reconnection after any sort of connection problem. I don't even think it takes