Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- mariaDB
- Security
- data
- db
- 자바
- framework
- Github
- Pattern
- SSH
- ai
- DeepLearning
- mysql
- Server
- git
- interface
- error
- Python
- javascript
- Web
- Spring
- Deep
- 함수
- Linux
- java
- 인공지능
- Analysis
- LIST
- Numpy
- learning
- centos
Archives
- Today
- Total
PostIT
[Apache/Tomcat] Context.xml 수정을 통한 문제 해결 - Cache, CSRF(Upload) 본문
Webserver/Tomcat
[Apache/Tomcat] Context.xml 수정을 통한 문제 해결 - Cache, CSRF(Upload)
shun10114 2016. 11. 25. 08:27Servers 폴더에 있는 context.xml에 이 부분을 넣어주면 문제가 해결된다.
<!-- 멀티파트 CSRF부분 해결 -->
<Context allowCasualMultipartParsing="true">
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
<!-- 케시문제 해결 -->
<Resources cachingAllowed="true" cacheMaxSize="100000"></Resources>
</Context>
False일대와 MaxSize가 어떤 영향을 주는지는 차차 알아봐야 할 것이다.
'Webserver > Tomcat' 카테고리의 다른 글
[CentOS/Tomcat]CentOS7에 톰켓8버전 설치 -퍼옴 및 수정 (0) | 2016.12.03 |
---|
Comments