I was afraid I'd have to do that.

Could you please show me what to put in index.html?

Thanks,

Pascal


Turner, John wrote:

I believe "everything" is "/*".

Also, setting DirectoryIndex in httpd.conf has no effect with mod_jk and
*.jsp.

If you want index.jsp to come up for "" or "/", you will have to kludge
around. My workaround is to set DirectoryIndex to index.html, and then in
index.html put a META refresh of time zero to index.jsp. It's an extra hit
for the browser, but I haven't had anyone complain yet. You'll also want to
set up <welcome-file> in your web.xml and set it to index.jsp.

John



-----Original Message-----
From: Pascal Forget [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 3:41 PM
To: Tomcat Users List
Subject: Apache to JKMount everything


Hi,

I would like Apache to redirect _everything_ to tomcat. But it
has to be done through mod_jk.

I tried JkMount * tomcat but it doesn't work. I did
put things such as JkMount *.jsp tomcat and that works,
but my main problem is that even though I have put
DirectoryIndex index.jsp in httpd.conf, http://www.foobar.com/index.jsp
works but http://www.foobar.com/ gives me a directory listing.

Please help,

Pascal Forget
[EMAIL PROTECTED]
[EMAIL PROTECTED]



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


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





Reply via email to