> > 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
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
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
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
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:
> >
> >
> > 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
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
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
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