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>
Se si sta configurando il supporto reverse proxy, modificare il valore del parametro ProxyRequests da On a Off. Per il supporto forward proxy, lasciare questo parametro impostato su On. L'impostazione di ProxyRequests su Off non disabilita l'utilizzo delle istruzioni ProxyPass.
In questo esempio, hostname è il nome dell'host CM Server e port è un numero di porta facoltativo, che è necessario specificare se è stata modificata la porta predefinita sui cui CM Server ascolta le richieste HTTP (consultare Modifica della porta HTTP CM Server predefinita).
ProxyPass /cqweb/ http://hostname[:port]/cqweb/ ProxyPassReverse /cqweb/ http://hostname[:port]/cqweb/
Ad esempio, le seguenti istruzioni configurano il server proxy per supportare l'accesso dall'interfaccia Rational ClearQuest Web a un processo CM Server in ascolto sulla porta 12081 di un host denominato CMserver_host.
ProxyPass /cqweb/ http://CMserver_host:12081/cqweb/ ProxyPassReverse /cqweb/ http://CMserver_host:12081/cqweb/
Per l'interfaccia ClearQuest Web, aggiungere queste istruzioni ProxyPass e ProxyPassReverse nel formato seguente per l'indirizzo Web cqweb:
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]/
ProxyPass /wpf/ http://CMserver_host:12081/wpf/ ProxyPass /px/ http://CMserver_host:12081/px/ ProxyPass /images/ http://CMserver_host:12081/images/ ProxyPass /dct/ http://CMserver_host:12081/dct/ ProxyPass /common/ http://CMserver_host:12081/common/ ProxyPass /../view/ http://CMserver_host:12081/view/ ProxyPass /view/ http://CMserver_host:12081/view/ ProxyPass /cqweb/ http://CMserver_host:12081/cqweb/ ProxyPass /cqattachments/ http://CMserver_host:12081/cqattachments/ ProxyPassReverse / http://CMserver_host:12081/
Gli indirizzi Web utilizzati dalle interfacce Web nei prodotti IBM possono cambiare quando si installa una nuova release di Rational ClearCase, Rational ClearQuest o un qualsiasi altro prodotto IBM sull'host CM Server. Per ricercare gli indirizzi Web validi correntemente per i prodotti IBM nell'host CM Server, esaminare i file *.conf nella directory CM Server conf/include. Gli indirizzi Web dell'applicazione sono integrati come argomenti in istruzioni Alias o JkMount. Ad esempio, JkMount /CQWeb/* ajp13 indica che /CQWeb è un indirizzo Web supportato da CM Server (omettere l'asterisco finale /* ).