When developing for PHP, I'm using a colpletely different httpd.conf to
start my server, and in this paeticular httpd.conf file, there's no mention
about modperl, perl or whatever required libapreq. The only modules I'm
loading are:
mime_module
log_config_module
status_module
dir_module
php5_m
On May 25, 2007, at 11:59 PM, Perrin Harkins wrote:
I've used the approach described here to debug hanging problems with
CGI.pm uploads:
http://modperlbook.org/html/ch21_07.html
The signal handler that tells you what line it's stuck on is pretty
handy.
Bookmarked. awesome.
It turns out t
On 5/25/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
does anyone have a suggestion on
what I can do ?
I've used the approach described here to debug hanging problems with
CGI.pm uploads:
http://modperlbook.org/html/ch21_07.html
The signal handler that tells you what line it's stuck on is p
On May 25, 2007, at 10:08 PM, Joe Schaefer wrote:
Try experimenting with using/not-using $r->discard_request_body
before sending your output.
Thanks Joe!
That helps a bit , but creates a new problem:
I think what happens is this:
without discard_request_body :
web application imme
Jonathan Vanasco <[EMAIL PROTECTED]> writes:
> I've been fighting this for 24 hours now, still no clue.
Try experimenting with using/not-using $r->discard_request_body
before sending your output.
--
Joe Schaefer
Perrin Harkins wrote:
On 5/25/07, Lionel MARTIN <[EMAIL PROTECTED]> wrote:
Unless I'm mistaken, and even if there is only one (child) Apache
process
and several thread under Windows (winnt MPM), the only directive that
can be
used is MaxRequestsPerChild and not MaxRequestsPerThread.
You're
Thanks Lionel,
You meant when you dev. php, your apache did not load modperl at all, or
it's just not used? Will there be a performance enhancement (as in no
unexpected server restart) if you unload modperl totally?
Yeah, that silly error page makes people unsure about Apache on Windows.
A r
Clinton Gormley wrote:
Clint,
I changed the header I sent from text/html to text/plain and the
segfaulting no longer occuring.
It's more likely to be the headers your server is receiving (eg cookie?)
than the headers it is sending.
Ok, I built my own apache-2.2.4 + mod_perl 2.0, fir
On 5/25/07, Tyler Bird <[EMAIL PROTECTED]> wrote:
Also when I tried to recompile apache since I
have a redhat rpm install of apache 2.0 and mod_perl when I try and
compile apache it complains about libapr already being there and exits.
Remove any mod_perl, apache, and libapreq RPMs before you b
Clinton Gormley wrote:
Clint,
I changed the header I sent from text/html to text/plain and the
segfaulting no longer occuring.
It's more likely to be the headers your server is receiving (eg cookie?)
than the headers it is sending.
Clint, I removed sending any cookies the following
Let me clarify what I'm doing. I copied the docs folder in Apache::AuthCookie
and then dropped it in my 'DocumentRoot'. Then copied the sample module and
put in one of the paths of @INC. Tried it, and it worked like a charm except
that when the secured page was accessed, the perl script was render
hmmm... no luck still!
BTW, even trying Apache::AuthCookie 3.10 on Apache 1.3/ mod_perl 1.29 also
reports the same problem now!
Perrin Harkins wrote:
>
> On 5/25/07, _spitFIRE <[EMAIL PROTECTED]> wrote:
>> I'm now using Apache 2.0.59 / mod_perl 2.0.3 / Apache:AuthCookie 3.10
>>
>> However, I
I've been fighting this for 24 hours now, still no clue.
The system doesn't give a bus error / segfault every time
Exploring with curl and taling my apache log with some info printed
to stderr, i've noticed this:
Curl: I get the expected result ( the server prints the browser
message "y
On 5/25/07, _spitFIRE <[EMAIL PROTECTED]> wrote:
I'm now using Apache 2.0.59 / mod_perl 2.0.3 / Apache:AuthCookie 3.10
However, I now get the error
"Can't locate loadable object for module Apache::Constants"
You don't have to use mod_perl 2 to use the latest Apache-AuthCookie,
but if you
> Clint,
>
> I changed the header I sent from text/html to text/plain and the
> segfaulting no longer occuring.
It's more likely to be the headers your server is receiving (eg cookie?)
than the headers it is sending.
Perrin Harkins wrote:
>
> This problem you're seeing may be a result of long-ago changes in the
> mod_perl 1 API, or a bug in the old module that you're using.
>
> - Perrin
>
>
Thanks for the tip!
I'm now using Apache 2.0.59 / mod_perl 2.0.3 / Apache:AuthCookie 3.10
However, I now get th
Clinton Gormley wrote:
Hi Tyler
I know next to nothing about reading backtraces, but it looks to me like
your segfault is occurring while your program is trying to parse the
headers.
Before doing any more, I would compile my own version of Apache2,
mod_perl2 and libapreq2, and see if it still o
On 5/25/07, Lionel MARTIN <[EMAIL PROTECTED]> wrote:
Unless I'm mistaken, and even if there is only one (child) Apache process
and several thread under Windows (winnt MPM), the only directive that can be
used is MaxRequestsPerChild and not MaxRequestsPerThread.
You're right, MaxThreadsPerlChil
On 5/24/07, Max Rodkin <[EMAIL PROTECTED]> wrote:
is ir possible to service non-http request , for example:
"$355632000166323,1,1,040202,093633,E12129.2252,N2459.8891,00161,0.0100,147,
07*37!"
Yes:
http://perl.apache.org/docs/2.0/user/handlers/protocols.html
- Perrin
Hi,
Actually I didn't see your original question, about the following error:
[Mon Mar 05 21:19:47 2007] [notice] Parent: child process exited with
status 3221225477 -- Restarting.
Actually, I am not even sure that this is due to MP2.
Indeed, on my development computer (running under Win XP, Apa
Hi Tyler
I know next to nothing about reading backtraces, but it looks to me like
your segfault is occurring while your program is trying to parse the
headers.
Before doing any more, I would compile my own version of Apache2,
mod_perl2 and libapreq2, and see if it still occurs.
With regards your
Hello Perrin and Lionel,
Lionel MARTIN wrote:
Unless I'm mistaken, and even if there is only one (child) Apache
process and several thread under Windows (winnt MPM), the only
directive that can be used is MaxRequestsPerChild and not
MaxRequestsPerThread.
It is not possible to restart indivi
Hi all,
i have a question.
is ir possible to service non-http request , for example:
"$355632000166323,1,1,040202,093633,E12129.2252,N2459.8891,00161,0.0100,147,
07*37!"
This request not contain "GET /cgi-bin/main.cgi HTTP/1.1" headers, and
can`t service by apache in usual way.
In http://perl.apa
23 matches
Mail list logo