Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Integrating Tomcat and Apache on Mac OS X Server 10.3.3



Stian Lavik wrote:
I'm trying to host several web sites (name based virtual hosts) with Apache on my Mac OS Server 10.3.3. And since I'm using JSP on the pages I need to integrate Tomcat with Apache, so that Apache knows that Tomcat should serve alle pages ending with .jsp.

I'm using Apache 1.3, mod_jk and Tomcat 4.1 on Linux, so I can't speak to any specific problems with OSX, but you shouldn't need any more than

# Static files in the webapp are served by apache
Alias /digitallibrary /docuserver/www/digitallibrary
# Send servlet for context to worker
JkMount /digitallibrary/servlet/* ajp13
# Send JSPs for context to worker
JkMount /digitallibrary/*.jsp ajp13

(aside from a working mod_jk and a workers.properties that defines a "ajp13" service)

The best shot so far, has been with Apache 1.3, Tomcat 4.1.30 and mod_jk.so (ajp13), still not quite there. (Does anyone know if there exists a mod_jk for Tomcat 5 yet?)

AFAIK Tomcat 5.x uses the same ajp13 (and ajp12) connection methods as Tomcat 4.

Cheers
Robert
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Integrating Tomcat and Apache on Mac OS X Server 10.3.3 (From: Stian Lavik <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.