Hi,

You could place an index.html page with the following content in the htdocs 
directory of apache:

<html>
   <head>
      <meta http-equiv="refresh" content="0; 
url=http://www.mydomain.com/servlet/MyServlet">
   </head>
</html>


regards,

Kenneth Westelinck


>From: Christian Bj�rnbak <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: DirectoryIndex -> /servlet/MyServlet
>Date: Mon, 9 Apr 2001 08:09:44 +0200
>
>Hi
>
>How do I setup Apache to use /servlet/MyServlet as DirectoryIndex?
>
>Let's say I have the following url: http://www.mydomain.com
>
>I would like to get it translated it to
>http://www.mydomain.com/servlet/MyServlet
>
>/Christian Bj�rnbak

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply via email to