You can do:

JkMount /* ajp13
JkMount /*.jsp ajp13

where "ajp13" refers to the worker name in workers.properties. But if you are doing that, why use Apache?

Regards,

Lajos


Richie Chauhan wrote:
I'm fairly new to all of this but try

1) JkMount /*.jsp local_ajp13
2) DirectoryIndex index.jsp

I think this means anything that matches the url *.jsp under the / context
is to be handled by jsp.

The DirectoryIndex part of it just lets apache know which pages to fetch
when it encounters www.adsf.com/

Richie


-----Original Message-----
From: Pascal Forget [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 12: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]>



--



                   Lajos Moczar
      ----------------------------------------
    Open Source Support, Consulting and Training
      ----------------------------------------
            Cocoon Developer's Handbook
 (www.amazon.com/exec/obidos/tg/detail/-/0672322579)

                   _      _____
                  / \         /
                 /___\      /
                /     \   /____

     http://www.galatea.com -- powered by AzSSL


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

Reply via email to