tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lajos <lm...@galatea.com>
Subject Re: Apache to JKMount everything
Date Tue, 28 Jan 2003 00:13:01 GMT
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:tomcatdev@ubeans.com]
> 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
> tomcatdev@ubeans.com
> pascal.forget@videotron.ca
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 


-- 



                    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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message