Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
RE: Quiet Internal Server Errors
 

Index | Next | Previous | View Flat


jnarins at seniorbridge

Apr 4, 2012, 8:42 AM


Views: 641
Permalink
RE: Quiet Internal Server Errors [In reply to]

> > 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
jnarins [at] seniorbridge

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.

Subject User Time
Quiet Internal Server Errors jnarins at seniorbridge Apr 4, 2012, 7:42 AM
    Re: Quiet Internal Server Errors aw at ice-sa Apr 4, 2012, 8:19 AM
        RE: Quiet Internal Server Errors jnarins at seniorbridge Apr 4, 2012, 8:42 AM
    Re: Quiet Internal Server Errors torsten.foertsch at gmx Apr 4, 2012, 8:34 AM
        RE: Quiet Internal Server Errors jnarins at seniorbridge Apr 4, 2012, 8:43 AM
    Re: Quiet Internal Server Errors aw at ice-sa Apr 4, 2012, 8:53 AM
        RE: Quiet Internal Server Errors jnarins at seniorbridge Apr 4, 2012, 9:24 AM
    Re: Quiet Internal Server Errors torsten.foertsch at gmx Apr 4, 2012, 9:19 AM
        RE: Quiet Internal Server Errors jnarins at seniorbridge Apr 4, 2012, 9:33 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.