tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Labanowski <...@osc.edu>
Subject Re: how to enable ssi in tomcat. Urgent plssssssss
Date Wed, 31 Jan 2001 15:14:31 GMT

SSI (Server Side Includes) work only in Apache. They do not work in
Tomcat. You have to choose... Either you do SSI or JSP, you cannot have
both.
If you have: 
  JkMount /*.jsp ajp13
  JkMount /servlet/* ajp13
in you mod_jk.conf

and
  
  AddType text/html .shtml
  AddHandler server-parsed .shtml
in your httpd.conf

You should be OK, i.e., the *.jsp files will go to Tomcat, and *.shtml
will be processed by Apache.

In Apache2.0, there may be a possibility of chaining the output from JSP
to the handler in Apache, but for Apache 1.3 it is just not possible, and
you have to choose in which way you will serve your Dynamic content

Jan
http://www.ccl.net/cca/software/UNIX/apache/index.shtml


On Wed, 31 Jan 2001, Suresh.S.V wrote:

> Hi
> Iam using tomcat 3.2.1+ apache 1.3.14 .In this servlets and jsp are working
> fine. When i stop tomcat  server side includes are working fine in html.But
> when i start tomcat also html includes are not working.Its urgent.Plsssss
> help me.
> Thanx&regds
> Suresh
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 

Jan K. Labanowski            |    phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center    |    Internet: jkl@osc.edu 
1224 Kinnear Rd,             |    http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163      |    http://www.osc.edu/


Mime
View raw message