• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic