LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule proxy_http_module modules/mod_proxy_http.so
<IfModule mod_proxy.c> ProxyRequests On </IfModule>
역방향 프록시 지원을 구성 중인 경우, ProxyRequests 매개변수 값을 On에서 Off로 변경하십시오. 정방향 프록시 지원의 경우, 이 매개변수를 On으로 설정한 대로 두십시오. ProxyRequests를 Off로 설정해도 ProxyPass 지시문을 사용할 수 있습니다.
이 예에서, hostname은 RWP 서버 호스트의 이름이고, port는 RWP가 HTTP 요청을 청취하는 기본 포트를 변경한 경우 지정해야 하는 선택적 포트 번호입니다(기본 RWP HTTP 포트 변경 참조).
ProxyPass / http://hostname[:port]/ ProxyPass /cqweb/ http://hostname[:port]/cqweb/ ProxyPass /wre/ http://hostname[:port]/wre/ ProxyPass /common/ http://hostname[:port]/common/ ProxyPass /px/ http://hostname[:port]/wre/px/ ProxyPass /wpf/ http://hostname[:port]/wre/wpf/ ProxyPass /dct/ http://hostname[:port]/dct/ ProxyPass /scripts/ http://hostname[:port]/scripts/ ProxyPass /view/ http://hostname[:port]/view/ ProxyPass /siteconfig/ http://hostname[:port]/wre/siteconfig/ ProxyPass /help/ http://hostname[:port]/view/browser/help/ ProxyPass /doc/ http://hostname[:port]/doc/ ProxyPass /html/ http://hostname[:port]/wre/common/html/ ProxyPassReverse / http://hostname[:port]/ ProxyPassReverse /cqweb/ http://hostname[:port]/cqweb/ ProxyPassReverse /wre/ http://hostname[:port]/wre/ ProxyPassReverse /common/ http://hostname[:port]/common/ ProxyPassReverse /px/ http://hostname[:port]/wre/px/ ProxyPassReverse /wpf/ http://hostname[:port]/wre/wpf/ ProxyPassReverse /dct/ http://hostname[:port]/dct/ ProxyPassReverse /scripts/ http://hostname[:port]/scripts/ ProxyPassReverse /view/ http://hostname[:port]/view/ ProxyPassReverse /siteconfig/ http://hostname[:port]/wre/siteconfig/ ProxyPassReverse /help/ http://hostname[:port]/view/browser/help/ ProxyPassReverse /doc/ http://hostname[:port]/doc/ ProxyPassReverse /html/ http://hostname[:port]/wre/common/html/
예를 들어, 다음 지시문은 Rational ClearQuest 웹 인터페이스를 통해 RWP_host라는 호스트의 81 포트를 청취하는 RWP 프로세스에 대한 액세스를 지원하기 위한 프록시 서버를 구성합니다.
ProxyPass / http://RWP_host:81/ ProxyPass /cqweb/ http://RWP_host:81/cqweb/ ProxyPass /wre/ http://RWP_host:81/wre/ ProxyPass /common/ http://RWP_host:81/common/ ProxyPass /px/ http://RWP_host:81/wre/px/ ProxyPass /wpf/ http://RWP_host:81/wre/wpf/ ProxyPass /dct/ http://RWP_host:81/dct/ ProxyPass /scripts/ http://RWP_host:81/scripts/ ProxyPass /view/ http://RWP_host:81/view/ ProxyPass /siteconfig/ http://RWP_host:81/wre/siteconfig/ ProxyPass /help/ http://RWP_host:81/view/browser/help/ ProxyPass /doc/ http://RWP_host:81/doc/ ProxyPass /html/ http://RWP_host:81/wre/common/html/ ProxyPassReverse / http://RWP_host:81/ ProxyPassReverse /cqweb/ http://RWP_host:81/cqweb/ ProxyPassReverse /wre/ http://RWP_host:81/wre/ ProxyPassReverse /common/ http://RWP_host:81/common/ ProxyPassReverse /px/ http://RWP_host:81/wre/px/ ProxyPassReverse /wpf/ http://RWP_host:81/wre/wpf/ ProxyPassReverse /dct/ http://RWP_host:81/dct/ ProxyPassReverse /scripts/ http://RWP_host:81/scripts/ ProxyPassReverse /view/ http://RWP_host:81/view/ ProxyPassReverse /siteconfig/ http://RWP_host:81/wre/siteconfig/ ProxyPassReverse /help/ http://RWP_host:81/view/browser/help/ ProxyPassReverse /doc/ http://RWP_host:81/doc/ ProxyPassReverse /html/ http://RWP_host:81/wre/common/html/
ClearCase 웹 인터페이스의 경우, 다음 ProxyPass 및 ProxyPassReverse 지시문을 추가하십시오.
ProxyPass /ccweb http://hostname[:port]/ccweb
ProxyPassReverse /ccweb http://hostname[:port]/ccweb
ProxyPass /Java_Plugins http://hostname[:port]/Java_Plugins
ProxyPassReverse /Java_Plugins http://hostname[:port]/Java_Plugins
hostname은 RWP 서버 호스트의 이름이고, port는 RWP가 HTTP 요청을 청취하는 기본 포트를 변경한 경우 지정해야 하는 선택적 포트 번호입니다(기본 RWP HTTP 포트 변경 참조). 예를 들어, 다음 지시문은 ClearCase 웹 인터페이스를 통해 RWP_host라는 호스트의 81 포트를 청취하는 RWP 프로세스에 대한 액세스를 지원하기 위한 프록시 서버를 구성합니다.
ProxyPass /ccweb http://RWP_host:81/ccweb ProxyPassReverse /ccweb http://RWP_host:81/ccweb ProxyPass /Java_Plugins http://RWP_host:81/Java_Plugins ProxyPassReverse /Java_Plugins http://RWP_host:81/Java_Plugins
ClearQuest 웹 인터페이스의 경우, 다음 ProxyPass 및 ProxyPassReverse 지시문을 추가하십시오.
ProxyPass /wpf/ http://hostname[:port]/wpf/
ProxyPass /px/ http://hostname[:port]/px/
ProxyPass /images/ http://hostname[:port]/images/
ProxyPass /dct/ http://hostname[:port]/dct/
ProxyPass /common/ http://hostname[:port]/common/
ProxyPass /../view/ http://hostname[:port]/view/
ProxyPass /view/ http://hostname[:port]/view/
ProxyPass /cqweb/ http://hostname[:port]/cqweb/
ProxyPass /cqattachments/ http://hostname[:port]/cqattachments/
ProxyPassReverse / http://hostname[:port]/
hostname은 RWP 서버 호스트의 이름이고, port는 RWP가 HTTP 요청을 청취하는 기본 포트를 변경한 경우 지정해야 하는 선택적 포트 번호입니다. 다음 예제는 ClearQuest 웹 인터페이스를 통해 RWP_host라는 호스트의 81 포트를 청취하는 RWP 프로세스로의 프록시 액세스를 지원합니다.
ProxyPass /wpf/ http://RWP_host:81/wpf/ ProxyPass /px/ http://RWP_host:81/px/ ProxyPass /images/ http://RWP_host:81/images/ ProxyPass /dct/ http://RWP_host:81/dct/ ProxyPass /common/ http://RWP_host:81/common/ ProxyPass /../view/ http://RWP_host:81/view/ ProxyPass /view/ http://RWP_host:81/view/ ProxyPass /cqweb/ http://RWP_host:81/cqweb/ ProxyPass /cqattachments/ http://RWP_host:81/cqattachments/ ProxyPassReverse / http://RWP_host:81/
웹 인터페이스가 사용하는 IBM 제품 웹 주소는 ClearCase, ClearQuest의 새 릴리스 또는 기타 IBM 제품을 RWP 호스트에 설치할 때 변경될 수 있습니다. RWP 호스트의 IBM 제품에 대해 현재 올바른 웹 주소를 찾으려면 RWP conf/include 디렉토리의 *.conf 파일을 검사하십시오. 응용프로그램 웹 주소는 Alias 또는 JkMount 지시문에 대한 인수로 임베드됩니다. 예: JkMount /CQWeb/* ajp13은 /CQWeb이 지원하는 웹 주소임을 표시합니다(뒤에 오는 /*는 생략). 마찬가지로 Alias /ccweb "_CC_HOME_/web"은 RWP가 지원하는 웹 주소가 /ccweb임을 나타냅니다.