Skip to content
Other versions

Loading…

Change default login screen

  • Stop the Tomcat.
  • Edit the “$TOMCAT/conf/server.xml” file and add into xml “” section add the line:
<Context docBase="${catalina.base}/custom" path="/OpenKM/custom" reloadable="true"/>

The xml Host sections should looks like this:

<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t &quot;%r&quot; %s %b" />
<!-- External resources -->
<Context docBase="${catalina.base}/custom" path="/OpenKM/custom" reloadable="true"/>
</Host>

Go to Administration > Configuration parameters and edit the parameter:

Property Type Description
custom.login String /custom/login.jsp

Go to Administration > Configuration parameters and edit the parameters:

Property Type Description
custom.header.height Integer 95
custom.header.source String /OpenKM/custom/header.jsp