This would be done by Apache (though it could possibly be done by
Tomcat; I use Apache). You can do it one of two ways:

1) Use mod_rewrite to rewrite "/index.html" to "/path-to-context-name".
Not sure on the mechanics of this. Try the Apache list for pointers, or
any number of tutotials on mod_rewrite.

2) Use the 'Redirect' directive in Apache. This is what I use and has
worked for 2 years. Basically, you stick a line in your httpd.conf which
goes:

Redirect temp www.domain.com www.domain.com/path-to-context

Hth,

Ben Ricker


On Mon, 2002-12-16 at 15:28, Alexander Wallace wrote:
> Hi there. Almost ready to deploy my app to test in real world.  I'm using 
> apache + tomcat (using mod_jk).  My app name is wxyz, and I have purchased 
> the domain name i want it to be under. I want to call www.mydomain.com and 
> get my app's index. instead of typing the www.mydomain.com/wxyz.
> 
> How can i do that? Can someone, if not tell me how, tell me where to read to 
> learn how to do it?
> 
> Sorry about the newbienezz of the email. I know nothing about this things. 
> 
> Thanks!
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- 
Ben Ricker <[EMAIL PROTECTED]>
Wellinx.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to