i have the corporate web server on one machine and confluence on another, how do i link the confluence so when i go to the main site http://example.com/wiki it displays the confluence login on the other machine and the end user is never aware of the existance of a separate machine from browsing?
on the confluence machine under apache i'm using proxypass as follows:
ProxyRequests Off ProxyPass / http://wiki.example.com:8090/ ProxyPassReverse / http://wiki.example.com:8090/ ProxyPreserveHost On SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1
and that works fine for browsing on the confluence machine.
on the corp web server apache config i have:
ProxyRequests Off ProxyPass /wiki/ http://wiki.example.com/ ProxyPassReverse /wiki/ http://wiki.example.com/ ProxyPreserveHost On SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1
and this does not work, i get a very strange url returned when i try to browse to http;//example.com/wiki/
http://example.com/login.action?os_destination=%2Findex.action&permissionViolation=true
and /wiki/ has been removed...
The corporate server should be set up to proxy the connection to Confluence.
This is a very common thing to do, and the standard docs are for Apache - see https://confluence.atlassian.com/display/DOC/Running+Confluence+behind+Apache (They're easy to translate to most other web servers, with the exception of IIS which is a bit more painful because it's not a great system, but still possible)
hi nic, did you see my additional comments? i did try following the document you referenced.
No, you added them after I posted the answer.
But, comparing this with one I've got working here, a couple of points: Your corporate server is missing the port number - you really do want to proxy directly to the confluence system, not via another proxy. You're missing the ProxyHTMLURLMap required when you're not proxying the same paths
It looks like you're new here. Sign in or register to get started.