File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Apache 2.0.52 +Tomcat 5.0.28 via mod_jk1.2.x on linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache 2.0.52 +Tomcat 5.0.28 via mod_jk1.2.x on linux" Watch "Apache 2.0.52 +Tomcat 5.0.28 via mod_jk1.2.x on linux" New topic
Author

Apache 2.0.52 +Tomcat 5.0.28 via mod_jk1.2.x on linux

raymonddd luo
Greenhorn

Joined: Oct 06, 2007
Posts: 1
Hi there,

I'd like to access tomcat webapps/jsp-examples/ through apache via mod_jk in my simple example. I found it works once I add the *Alias* part below into the apache httpd.conf.
Alias /jsp-examples "/usr/local/tomcat/webapps/jsp-examples/"

I even don't create workers.properties and put mod_jk.so into the apache/modules directory. Why does it work?

Does anybody tell me what wrong with it?

btw,I follow the article below to setup it.
http://agiletesting.blogspot.com/2005/10/configuring-apache-2-and-tomcat-55.html

Thanks,

Ray
Tualha Khan
Ranch Hand

Joined: Nov 22, 2000
Posts: 287
thats surprising. Are you sure you are really viewing the actual JSP/compiled output rather than the source file.


as per my understanding it should not work without the workers.properties file entries, since that is where you define the tomcat server location.

hth,
tualha


SCJP2, BEA WLS 6.0, DB2 UDB 7.1
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache 2.0.52 +Tomcat 5.0.28 via mod_jk1.2.x on linux