Harpreet SinghSingh

Greenhorn
+ Follow
since Sep 23, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Harpreet SinghSingh

Mike Curwen wrote:The sneaky way to do this is to use a META REDIRECT.

I had the same issue. I wanted a domain name (www.mydomain.com) to resolve right down to a certain page.

But the only page that is served with nothing but the domain typed in is 'index.html'

So all you need to do is re-write Tomcat's index.html to do something like this:

So now, when you type www.mydomain.com, Tomcat will serve the 'default' index.html page from it's webapps/ROOT directory.

But you've re-written that page to tell the browser to immediately refresh to the page you really want them to see.
[This message has been edited by Mike Curwen (edited November 09, 2001).]



where is map www.mydomain.com,
10 years ago