Mailing List Archive

apache error 500 weirdness
Hi,

I have an apache-2.4.46 system with php-7.4.16 on fedora33 site using
cloudflare, although I'm not sure if it's related. This is an entry from
our logs from a cloudflare IP:

172.68.34.214 - - [11/Apr/2021:21:22:11 -0400] "GET
/advisories/gentoo/gentoo-glsa-200903-10-irrlicht-user-assisted-execution-of-arbitrary-code
HTTP/1.1" 500 120453475 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X
10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1
Safari/605.1.15 (Applebot/0.1; +http://www.apple.com/go/applebot)"
7/7095876 1030/121467178/120453475 H:HTTP/1.1
U:/advisories/gentoo/gentoo-glsa-200903-10-irrlicht-user-assisted-execution-of-arbitrary-code
ls443 s:500 V:linuxsecurity.com v:linuxsecurity.com

The full URL for that entry is:
https://linuxsecurity.com/advisories/fedora/fedora-32-subversion-2021-16e51e39a6-20-34-36?rss

This page does not produce a 500 error when I go to it manually.

The LogFormat for this entry is as such:

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"
%T/%D %I/%O/%B H:%H U:%U ls443 s:%>s V:%V v:%v" timing

The %b in the entry above appears to be 121 megabytes. How is that
possible? How can I debug this? I have display_errors = On in my PHP
settings and have debugging enabled for php-fpm but no errors are being
reported.

Thanks,
Dave
Re: apache error 500 weirdness [ In reply to ]
The first thing I would do is to check If you have an error message in
apache log. If not, that may solely be a php issue and probably this
is not the right list to help debug that. But first things first.

El lun, 12 abr 2021 a las 3:40, Dave Wreski
(<dwreski@guardiandigital.com.invalid>) escribió:
>
> Hi,
>
> I have an apache-2.4.46 system with php-7.4.16 on fedora33 site using cloudflare, although I'm not sure if it's related. This is an entry from our logs from a cloudflare IP:
>
> 172.68.34.214 - - [11/Apr/2021:21:22:11 -0400] "GET /advisories/gentoo/gentoo-glsa-200903-10-irrlicht-user-assisted-execution-of-arbitrary-code HTTP/1.1" 500 120453475 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15 (Applebot/0.1; +http://www.apple.com/go/applebot)" 7/7095876 1030/121467178/120453475 H:HTTP/1.1 U:/advisories/gentoo/gentoo-glsa-200903-10-irrlicht-user-assisted-execution-of-arbitrary-code ls443 s:500 V:linuxsecurity.com v:linuxsecurity.com
>
> The full URL for that entry is:
> https://linuxsecurity.com/advisories/fedora/fedora-32-subversion-2021-16e51e39a6-20-34-36?rss
>
> This page does not produce a 500 error when I go to it manually.
>
> The LogFormat for this entry is as such:
>
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %T/%D %I/%O/%B H:%H U:%U ls443 s:%>s V:%V v:%v" timing
>
> The %b in the entry above appears to be 121 megabytes. How is that possible? How can I debug this? I have display_errors = On in my PHP settings and have debugging enabled for php-fpm but no errors are being reported.
>
> Thanks,
> Dave
>
>


--
Daniel Ferradal
HTTPD Project
#httpd help at Freenode

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org