I agree with you, however if I set a url-protected directory all the files
in that url-protected directory must be under Tomcat, and thus if some of
the files are shtm's and use SSI, the headers and footers will no longer
show up because the page is now being server up by Tomcat rather than IIS.
When protecting a a directory via <url-pattern> in web.xml it is my
understanding that anything with that url pattern is served up by Tomcat
regadless of the file type.
See example below...
i.e.
My Protected Directory
-----------------------------
<url-pattern>/sales/*</url-pattern>
My Tomcat Directory Structure
-----------------------------
tomcat/
webapps/
mysite/
sales/
index.shtm
test.jsp
figures.shtm
salespeople.jsp
Any thoughts,
Bob
-----Original Message-----
From: Jan Labanowski [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 9:15 AM
To: [EMAIL PROTECTED]; Jan Labanowski;
[EMAIL PROTECTED]
Subject: Re: how to enable ssi in tomcat. Urgent plssssssss
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®ds
> Suresh
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
Jan K. Labanowski | phone: 614-292-9279, FAX: 614-292-7168
Ohio Supercomputer Center | Internet: [EMAIL PROTECTED]
1224 Kinnear Rd, | http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163 | http://www.osc.edu/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]