Forum LAMS for Tech-Heads - General Forum: Re: Blocking access to the jboss root folder


 
Search: 

2: Re: Blocking access to the jboss root folder
In response to 1 03/13/08 06:06 PM
[ Reply | Forward ]
A .htaccess won't work if you're not using Apache.  I'm attaching an index.html which you can drop into the folder /path/to/jboss/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war - you'll need to overwrite the current one - which should redirect users from http://domain.com to http://domain.com/lams/.  It uses the <meta-refresh> tag to redirect the user's browser.

Posted by Jun-Dir Liew

Attachments:
Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum