RE: Quiet Internal Server Errors

2012-04-04 Thread Josh Narins
> > print STDERR > > I don't use "print STDERR" much. So, I am not sure if you have to set > $|=1 for > the handle. What happens if you replace "print STDERR" by "warn"? The > postconfig phase comes after openlogs. So, STDERR should point to the > main > server errorlog. For now, to avoid any such

RE: Quiet Internal Server Errors

2012-04-04 Thread Josh Narins
I see a hit in the access logs. I get an Internal Server Error. And still, the error log is completely silent. This is my problem. Without server errors I get a bit lost. >>> This seems to be a config with VirtualHosts. >>> Are you sure that you're looking in

Re: Quiet Internal Server Errors

2012-04-04 Thread Torsten Förtsch
On Wednesday, 04 April 2012 11:42:55 Josh Narins wrote: > print STDERR I don't use "print STDERR" much. So, I am not sure if you have to set $|=1 for the handle. What happens if you replace "print STDERR" by "warn"? The postconfig phase comes after openlogs. So, STDERR should point to the main

Re: Quiet Internal Server Errors

2012-04-04 Thread André Warnier
Josh Narins wrote: I see a hit in the access logs. I get an Internal Server Error. And still, the error log is completely silent. This is my problem. Without server errors I get a bit lost. This seems to be a config with VirtualHosts. Are you sure that you're looking in the correct error logs

RE: Quiet Internal Server Errors

2012-04-04 Thread Josh Narins
Cc: Josh Narins > Subject: Re: Quiet Internal Server Errors > > On Wednesday, 04 April 2012 10:42:47 Josh Narins wrote: > > PerlModule Phase::PostConfig > > PerlPostConfigHandler Phase::PostConfig::handler > > > > and putting in the very simple: > > > >

RE: Quiet Internal Server Errors

2012-04-04 Thread Josh Narins
> > I see a hit in the access logs. > > > > I get an Internal Server Error. > > > > And still, the error log is completely silent. This is my problem. > Without server errors I get a bit lost. > > > > This seems to be a config with VirtualHosts. > Are you sure that you're looking in the correct err

Re: Quiet Internal Server Errors

2012-04-04 Thread Torsten Förtsch
On Wednesday, 04 April 2012 10:42:47 Josh Narins wrote: > PerlModule Phase::PostConfig > PerlPostConfigHandler Phase::PostConfig::handler > > and putting in the very simple: > > use Apache2::Const -compile => 'OK'; > > sub post_config { > print STDERR "configuration is complete\n"; > ret

Re: Quiet Internal Server Errors

2012-04-04 Thread André Warnier
Josh Narins wrote: ... I see a hit in the access logs. I get an Internal Server Error. And still, the error log is completely silent. This is my problem. Without server errors I get a bit lost. This seems to be a config with VirtualHosts. Are you sure that you're looking in the correct er

Quiet Internal Server Errors

2012-04-04 Thread Josh Narins
I'm porting a large mod_perl1 application to mod_perl2. The server is now starting. If I mistype some server configuration, it gives me errors, so I know the configuration is being read. I tried adding this: PerlModule Phase::PostConfig PerlPostConfigHandler Phase::PostConfig::handler and put