반응형

I 리눅스(Linux) CentOS 7 ─ tomcat9

Oracle VM VirtualBox

CentOS-7-x86_64-Minimal-1804.iso

Oracle JDK (jdk-8u251-linux-x64.tar.gz)

apache-tomcat-9.0.29.tar.gz

 

 

[ server.xml ]

    <Connector port="8080" protocol="HTTP/1.1" 
               connectionTimeout="20000"
               redirectPort="8443" 
               URIEncoding="UTF-8" relaxedQueryChars="^{}[]|&quot;&lt;&gt;"
               server=" " />
 
      <Host name="localhost"  appBase="webapps" 
            unpackWARs="false" autoDeploy="false" deployOnStartup="false">
        <Context path="" docBase="/prod/tomcat9/apache-tomcat-9.0.29/web-application" reloadable="false"/>
cs

 

 

IE에서의 인코딩 문제를 방지하기 위하여 URI encoding 설정, relaxedQuerychars 설정 추가

 

반응형