Solved

tomcat-redirect website

Posted on 2014-03-18
1
302 Views
Last Modified: 2014-03-20
hi
i have a site that works likes this
ex. mysite.com/site  this will get me to the main page

but i would prefer to just get to site directly by typing mysite.com.  how can i forward mysite.com to mysite.com/site?

hope this makes sense
this is a tomcat server on linux redhat

thanks
0
Comment
Question by:eli2011
1 Comment
 
LVL 2

Accepted Solution

by:
Puspharaj Selvaraj earned 500 total points
ID: 39938887
On you webapp, web.xml remove mapping index.jsp and save

On your webapp/root/index.jsp add the mysite.com/site
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux Mailserver setup & redundancy 2 76
lunix and unix command 21 115
parallel rsync issues with Ubuntu 1 39
Centos 7 DNS server not replying to clients 3 53
Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…

740 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