Re: cms as an apache incubator project?

2012-01-13 Thread Joe Schaefer
It was written by me under the terms of my contract with the ASF as a sysadmin.  The rationale document discusses the motivations for doing the work as part of my work arrangement with Apache versus as a volunteer contributor.  It is by design a cost-effective, highly-scalable,enterprise-grade

Obtaining the Apache Content-type for a file

2012-01-13 Thread André Warnier
Hello. re: mod_perl 2.x, httpd 2.x I have a PerlResponseHandler which processes some kind of logical document-id provided in a request, locates the corresponding real document on the filesystem, and returns it to the client via sendfile(). At the moment, this handler uses its own custom logic

Re: Obtaining the Apache Content-type for a file

2012-01-13 Thread David Booth
On Fri, 2012-01-13 at 16:06 +0100, André Warnier wrote: I have a PerlResponseHandler which processes some kind of logical document-id provided in a request, locates the corresponding real document on the filesystem, and returns it to the client via sendfile(). At the moment, this handler

Re: Obtaining the Apache Content-type for a file

2012-01-13 Thread David Booth
On Fri, 2012-01-13 at 12:09 -0500, David Booth wrote: On Fri, 2012-01-13 at 16:06 +0100, André Warnier wrote: I have a PerlResponseHandler which processes some kind of logical document-id provided in a request, locates the corresponding real document on the filesystem, and returns it

Re: Obtaining the Apache Content-type for a file

2012-01-13 Thread André Warnier
David Booth wrote: On Fri, 2012-01-13 at 12:09 -0500, David Booth wrote: On Fri, 2012-01-13 at 16:06 +0100, André Warnier wrote: I have a PerlResponseHandler which processes some kind of logical document-id provided in a request, locates the corresponding real document on the filesystem, and

Re: Obtaining the Apache Content-type for a file

2012-01-13 Thread André Warnier
André Warnier wrote: David Booth wrote: On Fri, 2012-01-13 at 12:09 -0500, David Booth wrote: On Fri, 2012-01-13 at 16:06 +0100, André Warnier wrote: I have a PerlResponseHandler which processes some kind of logical document-id provided in a request, locates the corresponding real document

Re: Obtaining the Apache Content-type for a file

2012-01-13 Thread Joe Schaefer
From the ASF CMS codebase:     my $subr = $r-lookup_file($file);     my $content_type = $subr-content_type || ; an undefined content-type will eventually defer to the default content-type if you've set that in your httpd config. - Original Message - From: André Warnier

Re: Obtaining the Apache Content-type for a file

2012-01-13 Thread André Warnier
André Warnier wrote: André Warnier wrote: David Booth wrote: On Fri, 2012-01-13 at 12:09 -0500, David Booth wrote: On Fri, 2012-01-13 at 16:06 +0100, André Warnier wrote: I have a PerlResponseHandler which processes some kind of logical document-id provided in a request, locates the

Re: Obtaining the Apache Content-type for a file

2012-01-13 Thread André Warnier
Thanks. I just got the same illumination while you were writing.. :-) Joe Schaefer wrote: From the ASF CMS codebase: my $subr = $r-lookup_file($file); my $content_type = $subr-content_type || ; an undefined content-type will eventually defer to the default content-type if

Re: Problem with long http request generation time - process restarting

2012-01-13 Thread Andrew Merton (subscriptions)
On 17/12/2011 7:20 a.m., Randolf Richardson wrote: Thanks for the responses :) However - I just read another thread somewhere that made me think of looking in the Event log. It appears that the culprit is Oracle - there are errors naming OraOCIEI11.dll as the Faulting Module name.