Glen,
There are no instructions on how to redirect the JBoss home page, as we don't recommend for three reasons:
(1) It is not needed if you are running Apache.
(2) Its not tested. We've tried to design LAMS so that you don't have to have the "lams" but we've never really tried it with no context (ie just /, not /lams) so there may be obscure bugs somewhere.
(3) Sometimes the JBoss homepage is useful - particularly if you hit a weird bug that might be locking up your server. If that happens, we often look at the JBoss pages to see if we can work out what it is that might be triggering the problem. I can only think of one user that we have asked to do this, but the potential is there.
Most people who want this are running a large production system, and for a large production system we recommend running LAMS behind Apache, and using Apache to serve some of the static content. We have found this has given some sites a signficant performance improvement. If you use Apache, then you can have a "nice" url for the Apache server, and then use mod_rewrite to refer to LAMS using its normal name. See the Production Server Settings page on the wiki (http://wiki.lamsfoundation.org/display/lamsdocs/Production+Server+Settings) for details then let us know if you need some help with the mod_rewrite.
If you are still concerned that people can access the JBoss page, then you can following the instructions on http://wiki.jboss.org/wiki/Wiki.jsp?page=SecureTheJmxConsole. The "using a username/password file" option will do it, or (with LAMS shutdown) go to the directory <jboss>/server/default/deploy/jbossweb-tomcat55.sar/ and rename ROOT.war to ROOT.war.bak. If you rename the directory, then you shouldn't be able to get the console page at all.
If you still want to redirect people from the main JBoss page, adding the meta refresh tag "<META HTTP-EQUIV="Refresh" CONTENT="0;URL=/lams"/>" to
<jboss>/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/index.html is probably the easiest. Put the line in at line 7 - just after the existing meta tag.
Fiona
Posted by Fiona Malikoff