• Remove :8080 in the URL

  • 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.
 #12452  by Rudolf21
 
Hi everyone!

I have a question about the OpenKM-access:
In our company we can access the application from "http://openkm:8080"
I've created an alias (openkm) and done a redirect to "http://openkm:8080/OpenKM" in the /jboss-web.developer/ROOT.war/index.html file.

Now:
What should do that we can access OpenKM just by "http:openkm" without writting the port in the URL, too?

When the Port in the server.xml file (and the redirect) is changed to 80, the application doesn't react anymore...8080 works fine.
The application.url in the OpenKM.cfg is set as "://openkm/OpenKM/com.openkm.frontend.Main/index.jsp"

I hope this are all Information needed and you can give me a hint how to solve this problem. :)
Thanks for the support!

Kind Regards
 #12457  by joako
 
I solve this as follows:

1) Run Apache HTTP server on port 80
2) configure Apache proxy so http://your-host/OpenKM displays http://your-host:8080/OpemKM without :8080 in the client's URL:
Code: Select all
 ProxyPass /OpenKM ajp://localhost:8009/OpenKM
3) /index.php on port 80 HTTP server redirect the user to /OpenKM:
Code: Select all
<?PHP
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: /OpenKM/frontend/index.jsp" );
?>
This is further documented in OpenKM wiki.
 #12488  by jllort
 
The joako information is correct. The best option to hidden port 8080 is configure jboss aplication server behing an apache proxy on wiki you can find how doing it.

Other option could be change server.xml (jboss file) changin port 8080 to 80, but sincerally must discard it ... jboss has a lot of security problems exposing directly the application server ports, you must discard this option and go in apache proxy direction.

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.