Re: [Question] Handler executing twice!?!

2003-03-30 Thread Stas Bekman
Vince Veselosky wrote: [...] The thing that triggered it was the fact that the url was an "index.pl" file. When called as "example.com/index.pl", everything worked as expected, but when called as "example.com/", apache (or something) generated a subrequest for index.pl. NOW my question is, why

Re: [Question] Handler executing twice!?!

2003-03-30 Thread Vince Veselosky
Whew, okay, I have an answer, but I also still have a question. The short explanation: The "bug" in my code was the fact that I forgot that a request might also be a subrequest, so now I check if the request is_initial_req and short circuit if not. (And a tiny bug in my trace code caused my deb

Re: installing mod_perl with Apache and mod_ssl

2003-03-30 Thread Stas Bekman
Richard Kurth wrote: Hello , I am trying to install mod_perl with Apache apache_1.3.27 mod_ssl-2.8.12-1.3.27 and Frontpage This is what I am doing to install it but for some reason mod_perl does not install properly. [...] This might help: http://perl.apache.org/docs/1.0/guide/install.html#mod_pe

Segmentation fault - is Error.pm the culprit?

2003-03-30 Thread Richard Clarke
I'm using a subclass of Error.pm to throw exceptions when a DBI error happens. The SEGV only happens after I "return SERVER_ERROR" in response to the thrown and propogated error. This code essentially worked fine 2 weeks ago but at the time I removed my DBI HandleError subroutine. Today when adding

Re: [Question] Handler executing twice!?!

2003-03-30 Thread Stas Bekman
Vince Veselosky wrote: [...] Now here is the thing. The PerlHeaderParserHandler executes TWICE for every request. The second time through is apparently a different Apache Could it be that something in your code pushes the handler on the stack again? I'd suggest debugging with Apache::ShowReque

installing mod_perl with Apache and mod_ssl

2003-03-30 Thread Richard Kurth
Hello , I am trying to install mod_perl with Apache apache_1.3.27 mod_ssl-2.8.12-1.3.27 and Frontpage This is what I am doing to install it but for some reason mod_perl does not install properly. cd /tmp tar xfz apache_1.3.27.tar.gz #Frontpage Module cd /tmp cd apache_1.3.27 rm -f apache_1.3.27/