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') {
+=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
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.
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
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
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
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
]- 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 :-)
-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,
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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:
27 matches
Mail list logo