Score:0

400 Bad Request - Virtual Host

gw flag

I'm receiving "400 Bad Request Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit." I am trying to load a page that is configured with Virtual Host Tomcat 9. My configured Virtual Host:

 <Host name="demonstracao.itcmedb.com" appBase="demonstracao"
            unpackWARs="true" autoDeploy="true">
        <Allias>www.demonstracao.itcmedbr.com</Allias>
        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="localhost_access_log" suffix=".txt"
               pattern="%h %l %u %t &quot;%r&quot; %s %b" />
       <Context path="" docBase="/opt/tomcat/webapps/demonstracao"
          debug="0" reloadable="true"/>
      </Host>
I've too in http.conf configuration:
LimitRequestFieldSize 200000
Timeout 2400
ProxyTimeout 2400
ProxyBadHeader Ignore

ProxyPass               /demonstracao.itcmedbr.com      http://localhost:8081/demonstracao.itcmedbr.com
ProxyPassReverse        /demonstracao.itcmedbr.com      http://localhost:8081/demonstracao.itcmedbr.com

I'll appreciate any assistance, thanks.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.