Tomáš Kašpárek edited this page Nov 2, 2017 · 3 revisions
Clone this wiki locally

This is about adding any random HTML piece to the Satellite front (logon) page

Edit the file /var/lib/tomcat5/webapps/rhn/WEB-INF/pages/common/login.jsp and put in any changes you like. However, because the jsp's are compiled, your changes are not seen until you also do the following:

Comment out the following 2 lines in this file /var/lib/tomcat5/webapps/rhn/WEB-INF/web.xml (for a devel satellite, eng/java/code/webapp/WEB-INF/web.xml)




The following shouldn't be needed since development mode is turned on by default, but if the above doesn't work, try this:

Then apply this patch to /etc/tomcat*/web.xml

  --- web.xml     2007-06-12 16:55:38.000000000 -0400
  +++        2007-06-12 16:55:25.000000000 -0400
  @@ -194,6 +194,10 @@
  +        <init-param>
  +            <param-name>development</param-name>
  +            <param-value>true</param-value>
  +        </init-param>