• Change OpenKM URL / default directory TOMCAT

  • 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.
 #24467  by kknd
 
Hi me again :D

I am trying to change the URL http://localhost:8080/OpenKM/ to http://localhost:8080/ unsuccessfully : (

I edit the \tomcat\conf\server.xml add lines
Code: Select all
<Host name="localhost"  appBase="webapps" unpackWARs="true" autoDeploy="true">
<Context path="" docBase="openkm"></Context>
and I receive:
http://localhost:8080/j_spring_security_check
Image

Any tips?
 #24470  by kknd
 
I found a little way to put to work,

in .\tomcat\webapps\ROOT creat new file "index.html" with this content:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="pt-BR">
 <head>
  <title>OpenKM</title>
  <link rel="Shortcut icon" href="favicon.ico" />
  <style type="text/css">
   html, body, div, iframe { margin:0; padding:0; height:100%; }
   iframe { display:block; width:100%; border:none; }
  </style>
 </head>
 <body>
  <div>
   <iframe src="./OpenKM">
    <p><a href="./OpenKM">OpenKM</a></p>
   </iframe>
  </div>
 </body>
</html>  
Image
 #24480  by jllort
 
I think you'll get some minal problems with it. For example links to open some document by url like http://your_ip/OpenKM/index.jsp?uuid=etc..... will not going right with this kind of configuration. Except these minor defect embed OpenKM into and iframe should not get problems.

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.