Solved

JBoss 4.0.3 / Tomcat 5.5 URL redirects

Posted on 2006-06-21
2
672 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Suggested Solutions

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.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

732 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