Dear Tomcat experts,
I've been trying to figure out how to change the default webapp in
Tomcat 6.0.18 from 'ROOT' to 'uPortal'. I want it such that, when a user
enters http://www.myportal.ac.uk/ into their browser they get uPortal
rather than the default out-of-the-box Tomcat landing page. Currently,
to get uPortal, a user has to enter: http://www.myportal.ac.uk/uPortal .
- I've tried deleting the 'webapps/ROOT' webapp and creating a
symlink called 'ROOT' to link to 'webapps/uPortal'. This works, however,
I suspect the webapp is being initialised twice, once as ROOT and the
other as uPortal. This is obviously not great.
- I could do an apache URI rewrite for '/' => '/uPortal/'. But
this would still result in '/uPortal/' appearing in the users address
bar.
- The uPortal.war could be renamed to ROOT.war, however, I would
rather much prefer to keep uPortal in the 'uPortal' webapp directory.
- I'd like to keep Tomcat's auto deploy functionality.
So, considering the points above, does anyone know a way of changing the
default webapp for Tomcat?
Many Thanks,
Nick
University of the West of England, Bristol
This email was independently scanned for viruses by McAfee anti-virus software
and none were found
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]