Re: Rotating Apache logs

2001-02-22 Thread Edwin Pratomo
this is off-topic, coz logrotate should do it. man logrotate. rgds, Edwin Terry Newnham wrote: > > Hi > > I've found out how to edit httpd.conf so that it will rotate the error > and access logs. But you have to restart apache to read that which I'd > rather not do. Is there a command-line use

Re: number of pgsql childrens on persistant DBI connection

2001-02-20 Thread Edwin Pratomo
Emmanuel Pierre wrote: > > Hi all, > > on my DB server I have 245 "idle" postmasters process for 130 httpd > persistant DB connections alive. make sure you use the same connect attributes each time you invokes DBI->connect(). eg, a connect() with {RaiseError=>1} and another connect with {RaiseE

Accelerated apache

2000-11-30 Thread Edwin Pratomo
Has anyone here try compiling mod_perl with apache patched with this: http://oss.sgi.com/projects/apache/ ? Either 1.3.12 or 1.3.14 stucked at : Connection.xs: In function `XS_Apache__Connection_remote_ip': Connection.xs:107: incompatible types in assignment make[5]: *** [Connection.o] Error 1 ma

Apache::Util routines

2000-11-07 Thread Edwin Pratomo
Guys, mod_perl 1.24: perl -M'Apache::Util qw(:all)' -e '$a = parsedate("")' Undefined subroutine &Apache::Util::parsedate called at -e line 1. Looks like I've been missing something? Rgds, Edwin.

Re: error messages..

2000-09-28 Thread Edwin Pratomo
You're exposing your username/password you're using to connect to your DBMS to public. Those messages are there because $Apache::DBI::DEBUG is set. Rgds, Edwin. Sam Park wrote: > > Anybody knows why I'm getting this messages...??? > 5744 Pinging 'prodcrank.excite.com~crank~crank~RaiseError=1'

Re: AuthDBI with Interbase

2000-09-02 Thread Edwin Pratomo
Gerald Richter wrote: > > > Other DBI extension modules > > that I've known to work fine with DBD::InterBase are Apache::DBI, > > DBIx::Recordset > > Was it necessary to add an entry in Compat.pm, or did it work out of the > box? If you made any changes in Compat.pm, please send them to me, so I

Re: AuthDBI with Interbase

2000-09-02 Thread Edwin Pratomo
Yury Vasiliev wrote: > > I use AuthDBI with Interbase > It works ok, but there are some strange error in log > > //--- > $Apache::DBI::VERSION = '0.87'; > $DBI::VERSION = "1.14"; > > Interbase 6.0 > > //---

[Fwd: mod_eprl or PHP]

2000-07-27 Thread Edwin Pratomo
Edwin Pratomo wrote: > > Matt Sergeant wrote: > > > > On Wed, 26 Jul 2000, Denton River wrote: > > > > > HI list, > > > > > > My company is using mod_perl right now and i like it > > > alot, but now are they wanting us to start develo

Re: Browser Sniffing

2000-06-29 Thread Edwin Pratomo
Ask Bjoern Hansen wrote: > > On Thu, 29 Jun 2000, Drew Taylor wrote: > > > I'm hoping it's been done already, because the user-agent strings are > > terribly inconsistent... > > I needed something like that once and ended up with this: > > sub UA { > my $ua = shift; > my $n = ""; > my $v = "

Reading config

2000-06-19 Thread Edwin Pratomo
Hi, how to get configuration values at run-time, such as DirectoryIndex? TIA. Edwin.

Re: ARGV in exec subprocesses

2000-02-10 Thread Edwin Pratomo
On Fri, 11 Feb 2000, Edwin Pratomo wrote: > Stas, the example you supplied in the miniguide > (http://perl.apache.org/guide/performance.html#Forking_or_Executing_Subprocesse) > doesn't work. > It's because the scalar returned by FreezeThaw::thaw

ARGV in exec subprocesses

2000-02-10 Thread Edwin Pratomo
Stas, the example you supplied in the miniguide (http://perl.apache.org/guide/performance.html#Forking_or_Executing_Subprocesse) doesn't work. It's because the scalar returned by FreezeThaw::thaw contains shell escape chars, like: [|;] so system("program.pl $params") obviously will break. If th