Solved

JBoss 4.0.3 / Tomcat 5.5 URL redirects

Posted on 2006-06-21
2
667 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 32

Accepted Solution

by:
shalomc earned 250 total points
Comment Utility
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
Comment Utility
Thanks, those links are very useful.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now