Re: Apache::DBI-connect_on_init in BEGIN?

2000-05-16 Thread Doug MacEachern
On Sun, 14 May 2000, svante [iso-8859-1] sörmark wrote: hi all, what i'd like to do is "pre-initialize" my DBI connections from whithin my PerlHandler's BEGIN block. something like this: BEGIN { if ( Apache-dir_config('CONNECT_ON_INIT') {

RE: CGI::Delete for Apache::Request

2000-05-16 Thread Doug MacEachern
+=item parms thanks. the reason i've been holding off though, was because i wanted to rename parms() to be something a little more different from param(). i've asked for suggestions a few times, got any? :) p.s. from cvs Changes: Apache::Table-unset can now be called with an array reference

Re: mod_perl-perl5.6.0

2000-05-16 Thread Doug MacEachern
On Mon, 15 May 2000, Asghar Nafarieh wrote: I did it and still I get the same error. ok, then you'll have to get a stacktrace (see SUPPORT doc for tips), assuming this is a core dump.

Re: Zombie processes under mod_perl

2000-05-16 Thread Doug MacEachern
On Mon, 15 May 2000, Leonardo Madrigal wrote: Hi everyone! Im working on some scripts that run under mod_perl via Apache::Registry, on the latest stable versions of mod_perl and apache under FreeBSD 3.3-stable. This scripts make authentication to cybercash using the api that they

Re: Apache::DBI-connect_on_init in BEGIN?

2000-05-16 Thread svante sörmark
Doug MacEachern wrote: connect_on_init was written to be a PerlChildInitHandler, it doesn't make sense to use it anywhere else. ok, that would accomplish pretty much the same thing i guess. the problem is i can't seem to find a way to get configration variables from httpd.conf inside a

Re: Apache::DBI-connect_on_init in BEGIN?

2000-05-16 Thread Doug MacEachern
the problem is i can't seem to find a way to get configration variables from httpd.conf inside a BEGIN or a PerlChildInitHandler. i set the variables with PerlSetVar inside Location ... sections. use Apache-server-dir_config as eric already suggested to you. you'll have to move the

Help me to learn...

2000-05-16 Thread Alexei V. Alexandrov
Dear mod_perl users, I`m new to programming using mod_perl just for learning i wrote some simple modules and i want to write a more complex module for solving the following task: There are many .zip files on our server in the web root directory. I want to write a kind of module to

Re: KHTTPD for static and Apache/mod_perl for dynamic??

2000-05-16 Thread shane
]- I'm not sure but I think phttpd is included in RH6.2 Wow..., you're right. What a trip. Okay, I'm going to grab the srpm for RH's site, and extract it into a tarball. It'll be on my anonymous ftp under the pub/matofali directory if anyone's interested. Thanks, Shane. (Thanks BTW :-)

RE: CGI::Delete for Apache::Request

2000-05-16 Thread Geoffrey Young
-Original Message- From: Doug MacEachern [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 16, 2000 2:27 AM To: Geoffrey Young Cc: Michael Blakeley; [EMAIL PROTECTED] Subject: RE: CGI::Delete for Apache::Request +=item parms thanks. the reason i've been holding off though,

Re: Access to userland objects in different phases

2000-05-16 Thread Ken Miller
At 05:28 PM 5/15/00 -0400, you wrote: I use Class::Singleton in mod_perl apps with *no* problem whatsoever. In fact, it's pretty nifty to simply say: my $obj = $class-instance; anywhere in my application and have the object (whatever it is) simply pop up. Well, after looking at the

CGI scripts not executing.Re: works on linux, doesn't work on sun.

2000-05-16 Thread scotta
Actually, as I found out yesterday, it didn't fix it. I still just get the source. Further information. The symptoms were that I wasn't getting redirected properly. Yesterday some pieces finally came together which put me to the following point. Scripts are still not executing. The script

developer wanted

2000-05-16 Thread Adi
We are looking for one good developer. We are a very small ASP, facilitating a certain type of payer-provider transaction in the healthcare industry. It is a software developer position, but since we are fairly small, we can offer a significant amount of company equity to the right person. We

O'Reilly Con 2000 Rooms and Travel

2000-05-16 Thread Jeffrey W. Baker
I just registered for this year's O'Reilly Open Source Conference. I reserved a double occupancy room, even though I haven't planned to go with anyone else. If someone on this list is going and doesn't have a room, please email me and we can share. I reserved a non-smoking room in the

Re: Help me to learn...

2000-05-16 Thread Randy Kobes
On Tue, 16 May 2000, Alexei V. Alexandrov wrote: Dear mod_perl users, I`m new to programming using mod_perl just for learning i wrote some simple modules and i want to write a more complex module for solving the following task: There are many .zip files on our server in the web

Re: Problem with @INC

2000-05-16 Thread Robert Nice
Doug MacEachern wrote: On Sat, 13 May 2000, Robert Nice wrote: use lib '../site_perl'; it's been explained, 'use lib' happens at compile time (once per-script) and @INC is reset to whatever it was startup time after each request. the simple solution for you, which i didn't see

mod_perl + any other DSO module returns no data

2000-05-16 Thread Asghar Nafarieh
I have a linux machine with ssl, php, mod_perl + apache 1.3.12. If I load mod_perl module by idself it works fine. But if I add any other module in conjunction with mod_perl in httpd.conf I get "document has no data". I used both mod_perl 1.21 and mod_perl 1.23 with either perl 5.005_03 and

Apache::Sandiwch and cookies?

2000-05-16 Thread Jim Serio
Right now I have Sandwich calling a script which is just a wrapper for some functions in a module that print out the headers/footers. In my module, I do cookie checking and if no cookie exists, I attempt to write out a cookie. This is done before any content is passed to the client.

Apache::DBI and autocommit

2000-05-16 Thread William Deegan
Greetings, from the various perldocs and web pages I understand the following to be true. If autocommit is not set and a script exits the transaction will be rolled back. The question I have is when the database handle is re-used will the autocommit still be unset if the script that set it

Re: Apache::DBI and autocommit

2000-05-16 Thread Perrin Harkins
On Tue, 16 May 2000, William Deegan wrote: If autocommit is not set and a script exits the transaction will be rolled back. The question I have is when the database handle is re-used will the autocommit still be unset if the script that set it errors out? Yes, Apache::DBI doesn't touch

Apache::URI doesn't work for me

2000-05-16 Thread Rob Tanner
Hello, I do the following: my $parsed_uri = $r-parsed_uri; my $r_scheme = $parsed_uri-scheme; my $r_host = $parsed_uri-hostinfo; my $r_rpath= $parsed_uri-rpath; my $r_path = $parsed_uri-path; The result is that the scalars $r_scheme and $r_host are empty, and only $r_path and

RE: CGI::Delete for Apache::Request

2000-05-16 Thread Doug MacEachern
well, form_fields() is descriptive and would fit nicely with the other Apache::Table methods (headers_in, etc)... something like that, i was thinking post_data, but that table also has query string data in it, which might from a get. phooey. will you keep parms() around for folks who

Re: CGI scripts not executing.Re: works on linux, doesn't work onsun.

2000-05-16 Thread Doug MacEachern
On Tue, 16 May 2000 [EMAIL PROTECTED] wrote: Actually, as I found out yesterday, it didn't fix it. I still just get the source. Further information. The symptoms were that I wasn't getting redirected properly. Yesterday some pieces finally came together which put me to the following

Re: mod_perl + any other DSO module returns no data

2000-05-16 Thread Doug MacEachern
On Tue, 16 May 2000, Asghar Nafarieh wrote: I have a linux machine with ssl, php, mod_perl + apache 1.3.12. If I load mod_perl module by idself it works fine. But if I add any other module in conjunction with mod_perl in httpd.conf I get "document has no data". I used both mod_perl 1.21

Re: Apache::URI doesn't work for me

2000-05-16 Thread Doug MacEachern
On Tue, 16 May 2000, Rob Tanner wrote: Hello, I do the following: my $parsed_uri = $r-parsed_uri; my $r_scheme = $parsed_uri-scheme; my $r_host = $parsed_uri-hostinfo; my $r_rpath= $parsed_uri-rpath; my $r_path = $parsed_uri-path; The result is that the scalars

[ANNOUNCE] B-Size-0.04

2000-05-16 Thread Doug MacEachern
if you're not familar with B::Size, it was written a while back to answer the question 'why are my httpds so damn BIG?' there are hooks in Apache::Status to measure the size of global/lexical variables and the syntax tree. this is a debugging/educational module, for best results, run httpd in

[ANNOUNCE] mod_perl-1.24

2000-05-16 Thread Doug MacEachern
The URL http://perl.apache.org/dist/mod_perl-1.24.tar.gz has entered CPAN as file: $CPAN/authors/id/D/DO/DOUGM/mod_perl-1.24.tar.gz size: 353562 bytes md5: 08d0ac4c9e2436fdb038021ae8826a8c Changes since 1.23: 'sub handler : method {}' is now treated as a method handler variable

cvs commit: modperl/lib mod_perl.pm

2000-05-16 Thread dougm
dougm 00/05/16 22:44:26 Modified:.Changes lib mod_perl.pm Log: bump version Revision ChangesPath 1.486 +2 -0 modperl/Changes Index: Changes === RCS file: