RE: Quiet Internal Server Errors

Josh Narins <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <F61EA32D7A6A79478142BA12E77AEE83266EE7257D@MS3.nyc.seniorbridgeinternal.com>
> > 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 ?
> Some errors will be in the "main" log, others in the virtual host logs.
> Also, "print STDERR" is not necessarily the best way to send an error
> to the logs, under
> mod_perl 2.

While  I am using Virtual Hosts, the PerlPostConfigHandler is defined outside any of them.

On a positive note, when I change from "print STDERR" to open my $fh, ">>/tmp/abc" in my PostConfig handler, the file is written.

I checked the whole machine, there are no other error logs. Do I need to set up virtual host error logs separately, and they just go to /dev/null without such configuration?



Josh Narins
Director of Application Development
SeniorBridge

845 Third Ave
7th Floor
New York, NY 10022
Tel: (212) 994-6194
Mobile: (917) 488-6248
Fax: (212) 994-4260
[email protected]

SeniorBridge
Managing Complex Chronic Care
http://www.seniorbridge.com



SeniorBridge Statement of Confidentiality: The contents of this email message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. Any dissemination, distribution or copying of this email by an unintended or mistaken recipient is strictly prohibited. In said event, kindly reply to the sender and destroy all entries of this message and any attachments from your system. Thank you.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.