Shawn Lothrop can you please revise with me the following procedure:
Duplicate the
- \Apache\conf\http.conf
to
- \Apache\conf\windchill_proxy.conf
Edit
- \Apache\conf\http.conf
Change the listening port to another, eg:
- Listen 0.0.0.0:8880
And
- ServerName olddomain.com:8880
Edit
- \Apache\conf\windchill_proxy.conf
Uncomment the 3 lines:
- 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
And set new domain, eg:
- ServerName newdomain.com:80
And add, eg:
- ProxyPass /Windchill/ http://olddomain.com/Windchill/
- ProxyPassReverse /Windchill/ http://olddomain.com/Windchill/
- ProxyPass /Windchill-WHC http://olddomain.com/Windchill-WHC
- ProxyPassReverse /Windchill-WHC http://olddomain.com/Windchill-WHC
Make a new Apache service:
- httpd -k install -n "ApacheReverseProxy" -f D:\Winchill\Apache\conf\windchill_proxy.conf
Edit host, eg:
- 127.0.0.0 localhost newdomain.com
Run the following at windhill terminal:
- xconfmanager -s wt.rmi.clientSocketFactory=wt.boot.WTRMIMasterSocketFactory -t codebase/wt.properties
- xconfmanager -s wt.rmi.serverSocketFactory=wt.util.WrappedRMISocketFactory -t codebase/wt.properties
- xconfmanager -s wt.rmi.javarmicgi=servlet/JavaRMIServlet -t codebase/wt.properties
- xconfmanager -s wt.server.codebase=http://newdomain.com -t codebase/wt.properties
- xconfmanager -s wt.httpgw.mapCodebase=http://olddomain.com/Windchill -t codebase/wt.properties
- xconfmanager -s com.ptc.core.ca.co.client.doer.task.default.repository=olddomain.com -t codebase/wt.properties
- xconfmanager -s wt.federation.rpc.endpoint=http://olddomain.com:$WT_TASK_DISPATCHER_MINPORT/Windchill/servlet/RPC -t codebase/wt.properties
- xconfmanager -p
Add at urlmap.properties to:
- wtcore/=http://newdomain.com/Windchill/wtcore/
- servlet/=http://newdomain.com/Windchill/servlet/
- wt/=http://newdomain.com/Windchill/wt/
- com/=http://newdomain.com/Windchill/com/
- netmarkets/=http://newdomain.com/Windchill/netmarkets/
- wtx/=http://newdomain.com/Windchill/wtx/
- tx/=http://newdomain.com/Windchill/tx/
- infoengine/=http://newdomain.com/Windchill/infoengine/
Restart all