• Apache Proxy (Preview not working)

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #45311  by hoyt
 
I setup the proxy on Apache, and everything works well, except... When I go to preview a document it doesn't show and the number of requests build up in the console (about 2 a second in what appears to be perpetuity). Even after I click off of the document, the requests still keep ticking up at that rate. If I don't click the preview tab, I can traverse the tree and everything seems normal. I can even download the document without issue.

I have a handful of virtual hosts on this box and this .conf file is fairly basic:
Code: Select all
<VirtualHost *:443>
  ServerName docs.webaddress.com

    RedirectMatch ^/$ /OpenKM
    <Location /OpenKM>
        ProxyPass ajp://127.0.0.1:8009/OpenKM keepalive=on
        ProxyPassReverse https://docs.webaddress.com/OpenKM
    </Location>

{normal SSL stuff}

</VirtualHost>
It works fine if I go to the base address (http://internaladdress:8080/OpenKM). OpenKM and Apache are installed on the same hosts, so I've already installed all of the swf tools. Any ideas?

Thanks!
 #45321  by jllort
 
Did you changed application.url to use https -> is a configuration parameter. The application.url should be the same you are using in this case with SSL

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.