How to change limitrequestfieldsize in Apache 2.4.2

I am working with Apache 2.4.2 and I need to change the LimitRequestFieldSize. presumably (according to some Google research) that can be done in the httpd.conf file, but I cannot find that LimitRequestFieldSize is not httpd.conf or any file in Apache. Think how can I do this?

+7
source share
2 answers

In the end, I decided to just add the LimitRequestFieldSize 500000 to the httpd-default.conf file

+9
source

You just opened the door for a DoS attack.

Take a look at the LimitRequestFieldSize directive in the Apache documentation :

Quote from this source:

, HTTP-.

LimitRequestFieldSize HTTP-. , , . , , . SPNEGO 12392 .

, " ".

, ( ) ( ).

, , . , Linux ( ):

  • httpd.conf /etc/httpd/conf/httpd.conf(RHEL, CentOS, Fedora, Scientific Linux).

  • Debian , Ubuntu ( , , ), - apache2.conf, /etc/apache2/apache2. .

, .

, : Unix Linux Q & A , StackExchange, ( , Linux * Nix OS). , .

+9

Source: https://habr.com/ru/post/1544987/


All Articles