Segmentation fault in apache child when calling DBI::connect

2001-01-09 Thread Luis Henrique Cassis Fagundes
Hi, I use apache1.3.12 with mod_perl 1.24 and I've been using it in several programs with DBI (version 1.13). This is the first time I get an error like this, other programs that uses DBI are still working. In command line everything is working ok, but when I run my progr

How to get a form variable inside PerlLogHandler

2000-11-09 Thread Luis Henrique Cassis Fagundes
Hi, I have a perlloghandler that needs to get a variable from a form to log the request. To do this, I parse $r->the_request to get the variable from the query string, but this only works if the method of the form is GET. Does anyone know how can I do this if the method is POST?

Re: mod_perl-friendly webmail solutions?

2000-08-22 Thread Luis Henrique Cassis Fagundes
Hi, I used acmemail in two projects and liked it. I didn't test it under mod_perl, but the code as I remember was developed to run under mod_perl and appeared to avoid all the common mod_perl traps. To create new users, I don't dedicated much time to find a better solution,

Using fork() in programs running under apache

2000-07-19 Thread Luis Henrique Cassis Fagundes
Hi, I have a script that uses a smtp to send a message and this is causing an overload of my server, because the execution time (that would be some milisecs) is delayed by about 5 secs. I thought I could solve this by forking the process, so the user would get a faster answer and t

Re: Idea of an apache module

2000-07-13 Thread Luis Henrique Cassis Fagundes
utChain. []s Luis darren chamberlain wrote: > > Luis Henrique Cassis Fagundes ([EMAIL PROTECTED]) said something to this effect: > > The idea of a 404 handler will fit perfectly with mod_rewrite: I can > > create a 404 handler that writes the page to a st

Re: Idea of an apache module

2000-07-12 Thread Luis Henrique Cassis Fagundes
The idea of a 404 handler will fit perfectly with mod_rewrite: I can create a 404 handler that writes the page to a static file and to the browser and a rewrite rule that redirects request of the dynamic page to the static page. The only problem is one I already had trying to write

Re: Idea of an apache module

2000-07-12 Thread Luis Henrique Cassis Fagundes
Hi, The module would handle the requests before any other modules and check in its database if there is a cached page for that request uri. If the page is cached, it will send the cached page and return DONE. If the page is not cached, it will let Apache handle the request normally

Re: Idea of an apache module

2000-07-12 Thread Luis Henrique Cassis Fagundes
cached page will be sent. []s Luis [EMAIL PROTECTED] wrote: > > Yes. It's Apache::Registry. > > On 12-Jul-2000 Luis Henrique Cassis Fagundes wrote: > > Hi, > > Recently I started to have problems in developing my CGIs because in my > &

Idea of an apache module

2000-07-12 Thread Luis Henrique Cassis Fagundes
Hi, Recently I started to have problems in developing my CGIs because in my new job most of the servers run Netscape instead of Apache. The administrator told me that the reason is that Netscape has a better performance than Apache 1.3. I'm now developing a module that caches in di