Cookie help - using both cgi.pm and APR::Request::Cookie

2008-05-27 Thread cfaust-dougot
Folks, I taking over some really old code and I'm in the process of converting it over to mp2. I want to be able to use APR::Request::Cookie to create the cookie for the new things I'm doing but I need to create it exactly like CGI.pm is currently doing so the old code will continue to work un

Re: SSL_CIPHER_USEKEYSIZE not accessable

2008-05-27 Thread Tom Donovan
G. Allen Morris III wrote: I can't acccess SSL_CIPHER_USEKEYSIZE from Mod_perl 2 or at least I can't figure out how to do it. I have tried: $r->subprocess_env(); $r->print($r->subprocess_env('SSL_CIPHER_USEKEYSIZE')); Allen Morris Make sure your Apache config passes the SSL StdEnvVars

SSL_CIPHER_USEKEYSIZE not accessable

2008-05-27 Thread G. Allen Morris III
I can't acccess SSL_CIPHER_USEKEYSIZE from Mod_perl 2 or at least I can't figure out how to do it. I have tried: $r->subprocess_env(); $r->print($r->subprocess_env('SSL_CIPHER_USEKEYSIZE')); Allen Morris

Re: mod_perl2: handle session without CGI::Session

2008-05-27 Thread Perrin Harkins
On Mon, May 26, 2008 at 10:48 PM, mome <[EMAIL PROTECTED]> wrote: > When passing Apache2::Request object to CGI::Session->new() as the following > > sub authen_handler{ > my $self = shift; > my $req = Apache2::Request->new($r); > my $session=CGI::Session->new(undef,$req,{Directory=> > $TMP_SESSIO

Adding php_value etc, so virtualhosts with mod_perl

2008-05-27 Thread Tue Topholm
Hi All I have a small issue, I have this code: use DBI; my ($sth, $dbh, $domain, $domainID, $created, $sql, $sqlsa, $alias, $path,$settingName,$settingValue); $dbh = DBI->connect("DBI:mysql::","xxx","xxx"); $sth = $dbh->prepare("SELECT domainID, domain, created FROM domain ORDER BY dom

Re: mod_perl2: handle session without CGI::Session

2008-05-27 Thread Perrin Harkins
On Tue, May 27, 2008 at 4:08 AM, mome <[EMAIL PROTECTED]> wrote: > What do you means by " Either get the session ID > yourself and pass it to CGI::Session->new()"? > Does it mean I can simply create the session ID from any way eventhough > hardcode e.g. 23asfsdfw22456 and pass it? Your session ID

Re: mod_perl interactive debugging

2008-05-27 Thread Perrin Harkins
On Tue, May 27, 2008 at 1:38 PM, william <[EMAIL PROTECTED]> wrote: > Hello, I am trying to debug my perl code under mod_perl and I had > followed all the instruction at this section > http://perl.apache.org/docs/1.0/guide/debug.html#Interactive_mod_perl_Debugging > > I managed to see my perl debug

Re: Trouble with mod_perl, Archive::Zip and taint mode

2008-05-27 Thread Perrin Harkins
On Sun, May 25, 2008 at 3:45 PM, Roberto C. Sánchez > [Sun May 25 08:57:35 2008] [error] [asp] [11570] [error] error executing > code for include /var/www/templates/Photo_page_edit.tmpl: Insecure > dependency in open while running setgid at /usr/lib/perl/5.8/IO/File.pm > line 70. <--> ; compiled to

RE: Apache dies with mod_perl under Windows

2008-05-27 Thread Dan Horne
> From: Octavian Rasnita > What version of perl are you using? > I know that ActivePerl 5.8.8 build 822 gives errors when using it with Apache and mod_perl. > So I use ActivePerl build 820. > Octavian Ah, well I'm running 822, so that might be the problem... Attention: This email together with

Re: Trouble with mod_perl, Archive::Zip and taint mode

2008-05-27 Thread Roberto C . Sánchez
Does anybody have any ideas on this? Regards, -Roberto On Sun, May 25, 2008 at 03:45:24PM -0400, Roberto C. Sánchez wrote: > [Please CC me on all replies] > > So, I am writing some simple code to allow a user to upload his own > photo galleries. The section of code giving me problems is this:

mod_perl interactive debugging

2008-05-27 Thread william
Hello, I am trying to debug my perl code under mod_perl and I had followed all the instruction at this section http://perl.apache.org/docs/1.0/guide/debug.html#Interactive_mod_perl_Debugging I managed to see my perl debugging console prompted , but this prompt is shown by the tail -f /var/log/apac