You could also have an index.html that uses the meta-refresh tag to
automatically redirect to your login.jsp. This might be a lot easier than
mod_rewrite.

Either way, I would turn off directory browsing in Apache, unless that's
what you really want.

--jeff

----- Original Message -----
From: "Jason Koeninger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 18, 2001 6:25 PM
Subject: Re: Apache Default Document is .jsp?


> Dig through the documentation on mod_rewrite and/or
> look at the Redirect command for Apache.  One or both
> of those two should be capable of accomplishing what
> you want.
>
> Best Regards,
>
> Jason Koeninger
> J&J Computer Consulting
> http://www.jjcc.com
>
> On Mon, 18 Jun 2001 17:40:02 -0700, Scott Jones wrote:
>
> >Hello,
> >
> >I'm getting ready to setup tomcat and Apache on seperate machines.
Before
> >getting started on that project, on my development machine, I set the
> >default "DocumentRoot" for apache to a different directory (for static
> >content) than my webapp (which will eventually sit on a different
machine).
> >
> >I'd like to have my "login.jsp" be my default document, but was only able
to
> >get it to work by putting a "dummy" login.jsp in the HTML directory...
> >Otherwise, Apache would just show a normal index of the directory...
> >
> >Is this the only way to get this to work?  Or am I missing somthing?
BTW,
> >I'm on Tomcat 3.2.1 and Apache 1.3.19...
> >
> >Thanks for any ideas.
> >
> >Cheers,
> >
> >Scott
> >
>
>
>

Reply via email to