Re: apache version check

2007-06-18 Thread John ORourke
Jonathan Vanasco wrote: On Jun 18, 2007, at 5:05 PM, John ORourke wrote: $version = ( $ENV{MOD_PERL_API_VERSION}==2 )?2:1; that won't work, because that requires mod_perl to be loaded. the original poster said: "How do I check what version of Apache is installed from command line (wi

Re: apache version check

2007-06-18 Thread Jonathan Vanasco
On Jun 18, 2007, at 5:05 PM, John ORourke wrote: $version = ( $ENV{MOD_PERL_API_VERSION}==2 )?2:1; that won't work, because that requires mod_perl to be loaded. the original poster said: "How do I check what version of Apache is installed from command line (without using/lodaing mod_

Re: opinions of mod_perl users on MIME email sending

2007-06-18 Thread Max Kanat-Alexander
On Mon, 18 Jun 2007 16:51:18 +0100 John ORourke <[EMAIL PROTECTED]> wrote: > I'm wondering what modules people use for sending email? We usually use the Email:: modules. (We use Email::Send for sending messages.) The API is really simple, and the maintainer is very responsive. -Ma

Re: opinions of mod_perl users on MIME email sending

2007-06-18 Thread Scott Gifford
John ORourke <[EMAIL PROTECTED]> writes: > Hi folks, > > I'm wondering what modules people use for sending email? At the > moment I'm using MIME::Lite but I'm doing several things myself which > a bigger module might do for me: You can try Mail::Box - http://search.cpan.org/~markov/Mail-Bo

Re: opinions of mod_perl users on MIME email sending

2007-06-18 Thread Jonathan Vanasco
On Jun 18, 2007, at 11:51 AM, John ORourke wrote: Hi folks, I'm wondering what modules people use for sending email? At the moment I'm using MIME::Lite but I'm doing several things myself which a bigger module might do for me: - header encoding - I can't find any modules which will Q- o

Re: apache version check

2007-06-18 Thread John ORourke
_spitFIRE wrote: John ORourke wrote: use Apache2::ServerUtil; IMHO, doesn't this itself mean that you have Apache 2.x.x installed? Ah, you didn't say you were detecting v1 or v2 - I thought you just wanted to know the .x.x bit! If you're just after a '1' or a '2' try: $versio

Re: apache version check

2007-06-18 Thread Jonathan Vanasco
On Jun 18, 2007, at 12:33 PM, _spitFIRE wrote: When I don't know where apache is installed, how do I do this? I was asking for a way to write a perl script that would give me the version of apache installed, if possible! then why did you specifically ask for a way to do it on the comman

Re: apache version check

2007-06-18 Thread _spitFIRE
John ORourke wrote: > > > use Apache2::ServerUtil; > > IMHO, doesn't this itself mean that you have Apache 2.x.x installed? -- View this message in context: http://www.nabble.com/apache-version-check-tf3940767.html#a11182947 Sent from the mod_perl - General mailing list archive at Nabble.

Re: SQLite and multiple process behavior

2007-06-18 Thread Perrin Harkins
On 6/18/07, Jeff Nokes <[EMAIL PROTECTED]> wrote: [Jeff] When I'm testing against my dev server, I'm the only one playing in that sandbox, so I'm just doing single requests, there is definitely no locking or concurrency issues happening. I was mostly thinking of the kind of issues that more

Re: SQLite and multiple process behavior

2007-06-18 Thread Jeff Nokes
- Original Message From: Nikolay Ananiev <[EMAIL PROTECTED]> To: modperl@perl.apache.org Sent: Monday, June 18, 2007 12:27:56 AM Subject: Re: SQLite and multiple process behavior >What happens if you pass the AutoCommit => 1 option to DBI's connect method? I have been running with autoco

Re: SQLite and multiple process behavior

2007-06-18 Thread Jeff Nokes
Thanks for replying Perrin, see my replies inline below. - Jeff - Original Message From: Perrin Harkins <[EMAIL PROTECTED]> To: Jeff Nokes <[EMAIL PROTECTED]> Cc: modperl@perl.apache.org Sent: Friday, June 15, 2007 7:26:09 PM Subject: Re: SQLite and multiple process behavior >I see two p

Re: apache version check

2007-06-18 Thread John ORourke
_spitFIRE wrote: When I don't know where apache is installed, how do I do this? I was asking for a way to write a perl script that would give me the version of apache installed, if possible! use Apache2::ServerUtil; $version = Apache2::ServerUtil::get_server_version() hth, John

Re: Access apache log variables, eg %h in PerlLogHandler

2007-06-18 Thread Geoffrey Young
Brad wrote: > Is there any way I can read variables from apache's log system back into > a PerlLogHandler? %h %l etc you might as well forget about %l - nobody runs with identd. as for %h you can use $r->c->get_remote_host() http://perl.apache.org/docs/2.0/api/Apache2/Connection.html#C_get_re

Re: apache version check

2007-06-18 Thread _spitFIRE
When I don't know where apache is installed, how do I do this? I was asking for a way to write a perl script that would give me the version of apache installed, if possible! pennyyh wrote: > > Try: > $ cd apache_install_dir > $ bin/httpd -v > > This would show you version info. > good luck!

opinions of mod_perl users on MIME email sending

2007-06-18 Thread John ORourke
Hi folks, I'm wondering what modules people use for sending email? At the moment I'm using MIME::Lite but I'm doing several things myself which a bigger module might do for me: - header encoding - I can't find any modules which will Q- or B-encode headers that have the UTF-8 flag set - UT

Re: apache version check

2007-06-18 Thread pennyyh
Try: $ cd apache_install_dir $ bin/httpd -v This would show you version info. good luck! -Original Message- From: _spitFIRE <[EMAIL PROTECTED]> To: modperl@perl.apache.org Sent: Mon, 18 Jun 2007 10:51 pm Subject: apache version check How do I check what version of Apache is

apache version check

2007-06-18 Thread _spitFIRE
How do I check what version of Apache is installed from command line (without using/lodaing mod_perl)? -- View this message in context: http://www.nabble.com/apache-version-check-tf3940767.html#a11177225 Sent from the mod_perl - General mailing list archive at Nabble.com.

apache version check

2007-06-18 Thread _spitFIRE
How do I check what version of Apache is installed from command line (without using/lodaing mod_perl)? -- View this message in context: http://www.nabble.com/apache-version-check-tf3940766.html#a11177224 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: configuring perl module - makefile

2007-06-18 Thread _spitFIRE
Thanks. Perrin Harkins wrote: > > > http://perl.apache.org/docs/general/cpan_mod_dev/cpan_mod_dev.html#Defining_Makefile_PL_Prerequisites_that_Require_mod_perl > > -- View this message in context: http://www.nabble.com/configuring-perl-modulemakefile-tf3928998.html#a11177222 Sent from

Re: set auth_type, after subrequest it lost - bug or not ?

2007-06-18 Thread Geoffrey Young
Sergij Borodych wrote: > On 06/14/07 16:14, Sergij Borodych wrote: >> Hi ALL, >> >> I need some help >> >> I set auth_type (like $r->auth_type('MyType')) in PerlAuthenHandler >> if request go in "/" (root) it generate subrequest >> for lookup index.html file name >> after this in subrequest I los

Re: set auth_type, after subrequest it lost - bug or not ?

2007-06-18 Thread Sergij Borodych
On 06/14/07 16:14, Sergij Borodych wrote: > Hi ALL, > > I need some help > > I set auth_type (like $r->auth_type('MyType')) in PerlAuthenHandler > if request go in "/" (root) it generate subrequest > for lookup index.html file name > after this in subrequest I lost auth_type (but I ignore subrequ

Re: Unable to install libapreq2-2.0 from theoryx5

2007-06-18 Thread Randy Kobes
On Mon, 18 Jun 2007, Foo JH wrote: Hello all, Since the issue with the Apache restart has not been resolved, I've been looking into downgrading my Apache framework to 2.0 (instead of 2.2). I have hit a minor issue: I can't install libapreq2-2.0. I keep getting this error: ppm install failed

Re: SQLite and multiple process behavior

2007-06-18 Thread Nikolay Ananiev
What happens if you pass the AutoCommit => 1 option to DBI's connect method? "Jeff Nokes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I sent this to the SQLite mailing list on June 4th, but never received any >replies. > I figure either I'm making a totally rookie mistake somew