You actually can use JkUriSet in httpd.conf file. For example, to map all .jsp files to tomcat, <Location "/*.jsp"> JkUriSet worker ajp13:localhost:8009 </Location>
This is a global mapping.
Check http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html for a more in-depth example.
hth, Adrian Lanning
From: "Montz, James C. (James Tower)" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Virtual Hosting with Tomcat 4.1, Apache 2.0, and mod_jk2 Date: Tue, 16 Mar 2004 09:59:38 -0600
Is there any way to specify context mappings in the httpd.conf file? Something similar to JkUriSet?
I have successfully mapped *.jsp to my mod_jk2 worker, but I'm having an issues mapping virtual hosts with the correct Tomcat context?
Using uri in the workers2.properties will prove cumbersome as I have many virtual hosts, with many more ServerAliases.
Recommendations on how to best handle a single Apache 2.0./Tomcat 4.1 Server
instance doing a large amount of virtual hosting for several sites, and
hostnames?
______________________________ James C. Montz RHCE Hosting Services Engineer James Tower http://www.jamestower.com <http://www.jamestower.com>
_________________________________________________________________
Frustrated with dial-up? Lightning-fast Internet access for as low as $29.95/month. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]