Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
raymonddd luo
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 287
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic