RE : Mod_perl Application Development

2002-08-18 Thread Frédéric SCHWIEN
Check CGI::Application from CPAN, Very useful. It uses differents "Run Mode" for Application. Originally, it uses HTML::Template, but can be easily subclassed to use another Template System. We use it with Text::Template. Fred -Message d'origine- De : Jonathan Lonsdale [mailto:[EMAIL

RE: load balancing on apache

2001-12-14 Thread Frédéric SCHWIEN
Well, Linux Virtual Server is using ipchains (on the load balancer), and you can use any kind of OS on your real servers (those running your application), since it's only TCP/IP routing and/or forwarding.   Fred -Message d'origine-De : Derek Jones [mailto:[EMAIL PROTECTED]]Envoy

RE: load balancing on apache

2001-12-14 Thread Frédéric SCHWIEN
With this amount of connections, you may want to check LVS at http://www.linuxvirtualserver.com or Ultra Monkey et http://ultramonkey.sourceforge.net/ (althought i never used the last one, I think it might be easier to use).   This is open, efficient and reliable load balancing and hig

startup.pl for configuration

2001-07-24 Thread Frédéric Schwien
Hi,   I would like to have a config file like /etc/mywebapp.conf where I would put all my modules configuration. Then I would have a WebApp::LoadConfig module that would run from startup.pl, and initialize my Perl modules default variables at Apache start.   My config file would be some li

File Space Usage ... in perl ?

2000-10-21 Thread Frédéric Schwien
Hi,   I'm wondering if there is a way to get exactly the same result of system fonction "du" in Perl.   I need to know the disk Space tooken by a directory and it's sub-directory. To do that, I used the find method in File::Find to get the size (using -s file test) of each file and dir in a d

having several mod_perl virtualhosts on the same machine

2000-10-09 Thread Frédéric Schwien
Hi,   i'am encouring problems with a machine that is hosting several completly independant modperl featured host. It is crashing without any apparent reason (nothing in the logs), and it seems to be a lack of memory (1 GB !). The only visual aspect is that it becomes impossible to login in

Re: open(FH,'|qmail-inject') fails

2000-09-07 Thread Frédéric Schwien
> Might be a faq, but why would open(FH,'|qmail-inject') fail with > fatal: read-error from within mod_perl? Use open MAIL, "| /var/qmail/bin/qmail-inject" or &die_html("test"); print MAIL "[your mail]"; close MAIL; I suppose you forgot the full path to qmail-inject ...

Apache::Session : DBI->Too many connections

2000-07-29 Thread Frédéric Schwien
Hi , I am using Perl 5.6.0 whith MySql 3.22.32 , Apache 1.3.12 , modperl 1.24 . On our Production Server , Apache error logs are showing sometimes : [Thu Jun 8 14:53:34 2000] [error] DBI->connect failed: Too many connections at /usr/local/lib/perl5/site_perl/5.6.0/Apache/Session/ DBIStor

Fwd: apache_1.3.12 / mod_perl-1.22 ... Bug in mod_perl 1.22 on certain platform ?

2000-04-14 Thread Frédéric Schwien
g{lib_ext} # PERL_DEBUG=1 # #experimental features, use at own risk #but please report success or failure if you try #try to stop "Use of uninitialized value." with no line/filename info # PERL_MARK_WHERE=1 -- -- ======== | Frédér

apache_1.3.12 / mod_perl-1.22 ... install crash !

2000-04-13 Thread Frédéric Schwien
Hi, I'm using apache_1.3.12 / mod_perl-1.22 , on Suse 6.1 . when I try to install modperl, when perl Makefile.PL, I get the result before. After that, I can't make && make test && make install : make test crashes at listening to the port 8529. I think I did everything recommended in mod_perl g