1 - Why was no documentation for this method found in the manpage for
Apache::Request? Where should I have looked for docs on this?
perldoc Apache
There are some Apache API docs on ap_sub_req_lookup_uri here:
http://httpd.apache.org/docs/misc/API.html#req_orig
Though they may not
PH Don't open a connection during startup.
PH Open a connection in the child process instead.
BT I will second this. I've done this (unintentionally) when using MySQL,
and
BT you get a lot of weird errors about statement handles being active, etc.
I haven't read the entire thread, so
PH Don't open a connection during startup. If you do, it will be shared when
PH Apache forks, and sharing a database handle is bad for the same reasons
PH sharig a file handle is. Open a connection in the child process instead.
I will second this. I've done this (unintentionally) when using
Anyone know why the decryption fails using gpg when run in a perl script in
a browser but works if run in a shell? Here's the code sample:
my $cipher = TAG;
-BEGIN PGP MESSAGE-
pvbhS8Q22VYPqn+4sitEw0bgTmDhPo6rruzsSJxCHLBUyTPrYaPlmelF2iADCpKD
When apache is serving a ssl connection, I assume that everything
sent back and forth between the server and the client is encrypted.
I want an mod_perl script to encrypt/decrypt credit card numbers
obtained over the ssl connection for storage in a db on the server.
Is there any access to
I think that this:
PerlSetVar = {
Auth_DBI_data_source = 'dbi:Pg:dbname=reckdb',
Auth_DBI_username = 'dvicci',
Auth_DBI_pwd_table = 'user_profile',
Auth_DBI_uid_field = 'user_username',
Auth_DBI_pwd_field = 'user_password',
Auth_DBI_pwd_whereclause = '"user_usertype0"',
However, now I'm getting this:
Perl: PerlSetVar takes two arguments, Perl config var and value.
I don't think PerlSetVar likes this line:
[ Auth_DBI_pwd_whereclause = '"user_usertype0"' ],
You could try taking out the quotes and see if that helps, cause it did for
me (though I didn't
Perhaps part of this is that we simply need smarter configure/install
methods.
...
I've also dealt with this on another
app I'm working on (currently under NDA) that requires a bunch of modules,
a set of tables in a database, mod_perl, etc.
I've been dealing w/ very similar issues in work
Anyone have any experience doing Files sections inside of perlsections
virtualhosts.
I can't see anything in the docs about this.
Just wanted to ask before I start experimenting, as I don't have the first
clue about how this syntax might work.
Assuming I'm not missing something subtle about
just use push?
push @{ $VirtualHost{$ip} }, { ... };
Much easier, yes?
Same thing here:
$NameVirtualHost[++$#NameVirtualHost] = $ip;
push @NameVirtualHost, $ip;
bye,
Benjamin Trott
Attempt to free unreferenced scalar.
Attempt to free unreferenced scalar.
Attempt to free unreferenced scalar.
Attempt to free unreferenced scalar.
Attempt to free unreferenced scalar.
Interesting. Is the number of "Attempt to free unreferenced scalar."
messages the same as the number of
The types of parameters I'll pass to this handler will change
machine-by-machine. You see, I need to run this package on several different
servers, and need it to know how to configure it's self.
Okay... I don't think I get exactly why this situation makes using
PerlSetVar
t I'd
like to know *why* this is happening.
Thanks all.
bye,
Benjamin Trott
13 matches
Mail list logo