본문 바로가기

Web & WAS Settings/WAS

[ WAS ] URL 리라이팅

1. Tomcat 서버 환경

 

- web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app>

<!-- URL 리라이팅 : 세션 쿠키가 지원되지 않는 환경에서 서버가 세션을 유지하기 위해 JSESSIONID를 URL 파라미터로 자동으로 추가 -->
<!-- URL 리라이팅을 발생하지 않도록 수정 -->
<context-param>
	<param-name>disableURLRewriting</param-name>
	<param-value>true</param-value>
</context-param>

</web-app>

'Web & WAS Settings > WAS' 카테고리의 다른 글

[ WAS ] HTTP 메소드 보안  (0) 2024.10.05