TransWikia.com

Unreported 400 Bad Request Errors

Server Fault Asked by resu on November 29, 2021

The following two curl commands trigger 400 Bad Request errors which don’t appear in the ErrorLog and aren’t handled by the custom ErrorDocument

curl localhost -H ";"

> 400 Bad Request
> Your browser sent a request that this server could not understand.

This one is slightly different:

curl localhost -H "Host;"

> 400 Bad Request
> Your browser sent a request that this server could not understand.
> Additionallyt, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request.

Apache configuration:

ErrorLog /var/log/apache.log
LogLevel notice

ErrorDocument 400 /errHandler

Any ideas?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP