How to get the SERVER_SOFTWARE string

2005-08-15 Thread Nikolay Ananiev
Hello, Is there any way to get the SERVER_SOFTWARE string in mod_perl 2? I tried $r->psignature, but this doesn't work if ServerSignature is Off in httpd.conf.

Re: mod_perl and php

2005-08-20 Thread Nikolay Ananiev
This is great! If it really works I can use it to create modules for php nuke and other portal systems for my perl applications. "Jonathan Vanasco" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > there was a lot of talk on this about 2 weeks ago > > for those who were battling with t

Re: mod_perl and php

2005-08-20 Thread Nikolay Ananiev
As I read again, this can't be done. Anyway, it seems to be a great tool, but is it really usable with mod_perl? Does the php interpreter take a lot of memory? "Nikolay Ananiev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > This is great! If it really work

Re: Why does my MP2 crash intermittently?

2005-09-13 Thread Nikolay Ananiev
Hello, I had a similar problem with mp2 on windows. I was using Visual Studio .NET 2002 to compile mod_perl and this was the source of all evil. A bug in .NET. I had to download service pack 1 for .NET 2002 from microsoft.com and recompile mod_perl. If this doesn't help you should supply a backtr

Is it possible to create a file bucket?

2005-09-15 Thread Nikolay Ananiev
I'd like to do the following: open $fh, '<', 'some_file'; # A very big file $b = APR::Bucket->new($ba, $fh); while($b->read($buffer, 2048)) { ... } or $b = APR::Bucket->new($ba, \*STDIN);

Re: Is it possible to create a file bucket?

2005-09-16 Thread Nikolay Ananiev
urrent one. Therefore never call Cremove|/C_remove_>>, before calling C<$b-Eread>, or you may lose data." but it doesn't say how to create one. Apache2::TieBucketBrigade won't work for me. "Will Whittaker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PR

Re: I can't get mod_perl 2.0 working :(

2005-10-13 Thread Nikolay Ananiev
You are doing things wrong. This is right: # cd /usr/local/src # tar -xzvf *.tar.gz # cd mod_perl-2.0.1 # perl Makefile.PL MP_USE_STATIC=1 \ MP_AP_PREFIX=/usr/local/src/httpd-2.0.54 \ MP_AP_CONFIGURE="--with-mpm=prefork --prefix=/usr/bin/apache2" # make # make install "Brandon Mayes" <[EMAIL PRO

Re: postprocessing html+php code generated by a mod_perl system beforeto send it to browser

2005-11-23 Thread Nikolay Ananiev
"Edgard Pineda" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > I need some hints on this problem: I have a code in mod_perl that > generate a html page with some php code (), but before to > send this data to the browser I would like the mod_php processed the > code first. H

One more error with Apache::DBI

2005-12-16 Thread Nikolay Ananiev
This is a rare situation I accidentally ran across. This is the test script: #!perl -w use strict; use CGI; use Apache::DBI; my $q = CGI->new; print $q->header(); my $dsn = 'dbi:mysql:test'; Apache::DBI->setPingTimeOut($dsn, 100); my $dbh = DBI->connect($dsn, 'root', '', { AutoCommit=>1,

Re: One more error with Apache::DBI

2005-12-16 Thread Nikolay Ananiev
Forgot to mention Apache-DBI-0.9901 DBI-1.50 DBD-mysql-3.0002 mod_perl/1.29_01-dev "Nikolay Ananiev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > This is a rare situation I accidentally ran across. > This is the test script: > > #!perl -w > use

Re: pros & cons of Apache2::Request vs. CGI

2007-01-15 Thread Nikolay Ananiev
there are only pros. "Torsten Foertsch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]

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

Re: Bug report - mod_perl2 make test fails on Cygwin DLL version: 1.5.24

2007-11-05 Thread Nikolay Ananiev
enter export APACHE_TEST_STARTUP_TIMEOUT=800 in your console and then make test again Apache needs a lot of time to start up on Cygwin "Rolf Banting" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Guys, Probably not a bug as such but something in my set up. Find the output fr