Integrate with Apache on different box
PostPosted:Fri Mar 18, 2011 7:55 am
I have installed OpenKM on a machine on my internal lan, it's work ok on 10.0.0.2:8080.
Next I want to make it available on my domain via an integration with Apache running on another box connect to Internet. Giving me access using https://domain.com/OpenKM/. I have configured the HTTPS virtualhost with the following ProxyPass setup:
Might be that my ProxyPass setup is incorrect, or is there some security mechanism in OpenKM I need to tweak?
Next I want to make it available on my domain via an integration with Apache running on another box connect to Internet. Giving me access using https://domain.com/OpenKM/. I have configured the HTTPS virtualhost with the following ProxyPass setup:
Code: Select all
At first everything seems to be working, as OpenKM login screen pops up when going to https://domain.com/OpenKM/, but when trying to login I just get the folloing: ProxyPass /OpenKM/ http://10.0.0.2:8080/OpenKM/
ProxyPassReverse /OpenKM/ http://10.0.0.2:8080/OpenKM/
RewriteEngine on
RewriteCond %{REQUEST_URI} /OpenKM*
RewriteRule ^(/.*)$ http://10.0.0.2:8080/$1 [P]
ProxyPassReverse / http://10.0.0.2:8080/
Code: Select all
And the browser has redirect to the following URL: The connection to the server was reset while the page was loading.
Code: Select all
https://domain.com/OpenKM/com.openkm.frontend.Main/j_security_check
Might be that my ProxyPass setup is incorrect, or is there some security mechanism in OpenKM I need to tweak?