본문 바로가기

전체 글38

Apache Location 설정 시 주의점 Apache에서 Location 지정할시 경로 뒤에 /를 붙여준다. SetHandler Weblogic-handler 위와 같이 설정 시 URL에 /testFile, /testPath와 같은 경로를 입력하면 /test Location을 따라감 이를 방지하기 위해 아래와 같이 설정 SetHandler Weblogic-handler 2022. 11. 9.
웹로직 관리자 계정 초기화 1. WebLogic AdminServer 종료 2. ${DOMAIN_HOME}/servers/AdminServer 디렉토리 삭제 3. ${DOMAIN_HOME}/boot.properties 수정 username=계정 password=비밀번호 4. ${DOMAIN_HOME}/security/DefaultAuthenticatorInit.ldift 삭제 또는 파일명 변경 5. cd ${DOMAIN_HOME}/security . ../bin/setDomainEnv.sh java weblogic.security.utils.AdminAccount 계정 비밀번호 . 6. WebLogic AdminServer 기동 2022. 10. 28.
미들웨어 라이브러리 로딩 순서 변경 미들웨어에 기 구축된 모듈 또는 솔루션 등을 구성할 경우, webapp에 있는 라이브러리보다 미들웨어에서 제공하는 라이브러리가 먼저 로딩되어 버전 차이에 따른 오류가 발생할 수 있다. 이를 방지 위해 아래와 같은 방법으로 webapp에 있는 라이브러리를 우선 로드하도록 설정 가능하다. WebLogic weblogic.xml true Jeus jeus-web-dd.xml true * webapp에서 현재 로딩된 라이브러리 클래스 경로 확인방법 java.net.URL classPath = this.getClass().getResource("클래스명.class"); 2022. 10. 14.
Apache Rerverse Proxy를 통한 Request 포워딩 Apache reverse proxy 모듈을 통하여 web request를 특정 ip 또는 url로 포워딩할 수 있다. SSLProxyEngine on SSLProxyVerify none SSLProxyCheckPeerName off ProxyPreserveHost off ProxyRequests off ProxyPass /test https://testapi.co.kr/test ReverseProxyPass /test https://testapi.co.kr/test ProxyPreserveHost Host 헤더를 현재 사용자가 요청한 서버 Host로 설정(on/off) ProxyRequests 프록시 요청 포워드 설정(on:정방향 프록시 / off:역방향 프록시) SSLProxyCheckPeerName.. 2022. 9. 20.