You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/12/10 21:02:25 UTC
DO NOT REPLY [Bug 50456] New: Invalid Error 413 crash Apache
https://issues.apache.org/bugzilla/show_bug.cgi?id=50456
Summary: Invalid Error 413 crash Apache
Product: Apache httpd-2
Version: 2.2.17
Platform: PC
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: ricardo.nuno.rodrigues@hotmail.com
Hi there,
When I upload file larger than what is defined on LimitRequestBody and
ErrorDocument 413 may not formed as expected the Apache crashes with this
message:
[Fri Dec 10 19:22:06 2010] [error] [client 127.0.0.1] Requested content-length
of 2359550 is larger than the configured limit of 2097152, referer:
http://localhost/v1/index.php/candidate/my_profile/photo/pt
[Fri Dec 10 19:22:20 2010] [notice] Parent: child process exited with status
255 -- Restarting.
Works:
ErrorDocument 413
http://localhost/v1/index.php/candidate/my_profile/photo/size_error/pt
Crashes:
ErrorDocument 413 /v1/index.php/candidate/my_profile/photo/size_error/pt
I want that the link is flexible because I have several hosts.
Is this with wrong syntax? How can I write it?
There's any hack for this before corrected?
Thanks,
Ricardo
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 50456] Invalid Error 413 crash Apache
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50456
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Eric Covener <co...@gmail.com> 2011-09-17 17:10:10 UTC ---
need some sign this isn't just PHP crashing in your errordocument.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 50456] Invalid Error 413 crash Apache
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50456
--- Comment #5 from Eric Covener <co...@gmail.com> 2011-09-17 22:00:54 UTC ---
How do you know your crash is related to apache "not understanding the routing"
and not PHP crashing when called for an internal redirect / local error
document?
I suggest you debug the configuration without a PHP script generating the
response and discuss on the user support mailing list.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 50456] Invalid Error 413 crash Apache
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50456
--- Comment #3 from Eric Covener <co...@gmail.com> 2011-09-17 21:06:48 UTC ---
(In reply to comment #2)
> Hi Eric,
> Please rephrase because I don't understand your point.
>
> The PHP code run is the same on both cases, is this the question?
It's no easy task to analyze a windows dump and tell what component crashed,
much less why. But generally when Apache crashes while serving a PHP resource,
the PHP interpreter is the culprit until shown otherwise.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 50456] Invalid Error 413 crash Apache
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50456
Ricardo <ri...@hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS/Version|All |Windows 7
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 50456] Invalid Error 413 crash Apache
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50456
--- Comment #2 from Ricardo <ri...@hotmail.com> 2011-09-17 20:57:39 UTC ---
Hi Eric,
Please rephrase because I don't understand your point.
The PHP code run is the same on both cases, is this the question?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 50456] Invalid Error 413 crash Apache
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50456
--- Comment #4 from Ricardo <ri...@hotmail.com> 2011-09-17 21:27:23 UTC ---
Eric,
The problem is this:
Works:
ErrorDocument 413
http://localhost/v1/index.php/candidate/my_profile/photo/size_error/pt
Crashes:
ErrorDocument 413 /v1/index.php/candidate/my_profile/photo/size_error/pt
PHP code is the same. The diference is the Apache isn't understanding the
routing.
What is the correct syntax for this case? I didn't found documentation.
I can have
http://www.AAA.com/v1/index.php/candidate/my_profile/photo/size_error/pt
and
http://www.BBB.com/v1/index.php/candidate/my_profile/photo/size_error/pt
What's the correct ErrorDoucument definition?
Thanks
Ricardo
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 50456] Invalid Error 413 crash Apache
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50456
Ricardo <ri...@hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ricardo.nuno.rodrigues@hotm
| |ail.com
OS/Version| |All
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org