Re: Apache::LogFile and mod_perl2

2007-10-09 Thread Philippe M. Chiasson
Dan Thomas wrote: > Hi, > > I'm in the process of shifting some old mod_perl1 code over to > Apache2.2 and mod_perl2. Part of it is using Apache::LogFile to write > to a custom log. Well.. actually, it pipes the data to a little script > that collects up lines and forks off processes to deal with

Apache::LogFile and mod_perl2

2007-10-09 Thread Dan Thomas
Hi, I'm in the process of shifting some old mod_perl1 code over to Apache2.2 and mod_perl2. Part of it is using Apache::LogFile to write to a custom log. Well.. actually, it pipes the data to a little script that collects up lines and forks off processes to deal with them when it's got a handful (

Re: mod_perl Apache2 RequestRec allowed problem

2007-10-09 Thread Christopher Stanton
$r->allowed_methods($reset, $list) only seems to respect the reset flag if the return code from the handler is either Apache2::Const::HTTP_METHOD_NOT_ALLOWED or Apache2::Const::HTTP_NOT_IMPLEMENTED which is not in the documentation. The OPTIONS request is supposed to be URI/resource specific (unle

Re: mod_perl Apache2 RequestRec allowed problem

2007-10-09 Thread Christopher Stanton
Thanks for the reply Geoffrey. I have updated the code to use $r->allow_methods rather than $r->allowed per the documentation at: http://perl.apache.org/docs/2.0/api/Apache2/Access.html#C_allow_methods_ Now additional methods are being included in the response, but the reset boolean does not seem

Re: mod_perl Apache2 RequestRec allowed problem

2007-10-09 Thread Geoffrey Young
Christopher Stanton wrote: > I am trying to set the allowed bitmask in a custom request handler > when I receive the OPTIONS method (and when I receive a method request > for a method I do not support). > > I have followed the example in > http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.h

Re: -X and trapping kill?

2007-10-09 Thread Fred Moyer
Philippe M. Chiasson wrote: Bill Moseley wrote: Must be Monday. Is there a problem with the -X switch and prefork? I'm using: Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8e mod_perl/2.0.2 Perl/v5.8.8 for Apache/2.x, Shouldn't that now be: $> httpd -DONE_PROCESS -DNO_DETACH This is ha

mod_perl Apache2 RequestRec allowed problem

2007-10-09 Thread Christopher Stanton
I am trying to set the allowed bitmask in a custom request handler when I receive the OPTIONS method (and when I receive a method request for a method I do not support). I have followed the example in http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_allowed_ but Apache always returns

Re: [website] Incomplete information on the /about/license.html page

2007-10-09 Thread Philippe M. Chiasson
Mark Hindess wrote: > The web page at: > > http://perl.apache.org/about/license.html > > only mentions the "Apache Software License, Version 1.1" but mod_perl > 2.0 is licensed under the "Apache License, Version 2.0". > > Perhaps this page should be update to include the new license (as well)?

RE: Apache crashing

2007-10-09 Thread Ian G. Tyndall
My virtual host: ServerName mysite.com DocumentRoot "X:/htdocs/sites/mysite_dev" ScriptAlias /cgi-bin/admin/ "X:/htdocs/sites/mysite_dev/cgi-bin/admin/" ErrorLog logs/rt-error.log Options +ExecCGI Order allow,deny Allow from all SetHandler

Re: Apache crashing

2007-10-09 Thread Foo JH
What's your modperl config like? Ian G. Tyndall wrote: Ok, I decided to upgrade my Apache to see if that would fix things. I installed 2.2.4, and I was getting the same error as originally reported... but more often. Then, I upgraded to 2.2.6 from the Apachelounge... and now I'm getting an erro

RE: Apache crashing

2007-10-09 Thread Ian G. Tyndall
Ok, I decided to upgrade my Apache to see if that would fix things. I installed 2.2.4, and I was getting the same error as originally reported... but more often. Then, I upgraded to 2.2.6 from the Apachelounge... and now I'm getting an error. The error is as follows: [Tue Oct 09 08:50:20 2007] [

[website] Incomplete information on the /about/license.html page

2007-10-09 Thread Mark Hindess
The web page at: http://perl.apache.org/about/license.html only mentions the "Apache Software License, Version 1.1" but mod_perl 2.0 is licensed under the "Apache License, Version 2.0". Perhaps this page should be update to include the new license (as well)? Regards, -Mark.