Solved

JBoss 4.0.3 / Tomcat 5.5 URL redirects

Posted on 2006-06-21
2
670 Views
Last Modified: 2012-06-21
This is a POINTER QUESTION to http://www.experts-exchange.com/Web/Hosting/Q_21892387.html.
Please post answers there.

Summary:
 I'm running JBOSS 4.0.3SP1 with embedded Tomcat 5.5.

The App's homepage is www.mydomain.com/context/index.jsp
We want users to just type in www.mydomain.com and be served up the right page, ideally so that they never see the /context/ as they move around the site.

I found a good article at "Tomcat and website URLs/default directories" which I thought might solve the problem but it appears that Tomcat 5.5 is different to previous (context.xml and things) and I can't get that solution to work.

Any ideas?
0
Comment
Question by:texan_gerbil
2 Comments
 
LVL 33

Accepted Solution

by:
shalomc earned 250 total points
ID: 17035947
You need url rewriting.

The best will be to use Apache http server on top of jboss/tomcat, and to use its url rewriting capabilities.
This is what I always do and I am never sorry.

You may look at other, native java solutions.

http://tuckey.org/urlrewrite/
http://jakarta.apache.org/turbine/turbine/turbine-2.4-M1/howto/url-rewriting-howto.html
0
 

Author Comment

by:texan_gerbil
ID: 17057214
Thanks, those links are very useful.
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question