2:
Re: How to redirect jboss root to lams app
By: Fiona Malikoff
|
In response to 1 | 01/31/08 07:48 PM | ||
Glen,
There are no instructions on how to redirect the JBoss home page, as we don't recommend for three reasons: 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 Fiona Posted by Fiona Malikoff |
|
Reply to first post on this page
Back to Problems Installing LAMS