You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tony Thigpen <to...@vse2pdf.com> on 2011/09/03 19:28:43 UTC

SSIs not working

As part of a college class, I need to use Tomcat7 with Eclipse.
The first item we have to perform is to enable SSI and Perl support and 
verify that they work. We were provided with the instructions on all the 
changes to web.xml to enable the support. I have made all the changes, 
but a basic test of the SSI support fails. The following is the main 
part of the html code I am using for testing:
(from MyHtml.shtml)

<p align="left">
Local Date is now: <!--#echo var="DATE_LOCAL" -->
</p>

All that displays on my browser (Firefox 5.0) is:

Local Date is now:

So, I need some help as I have missed something.

My laptop is running SUSE 11.4

I installed the following Tomcat RPMs:
tomcat7-7.0.16-1.2.noarch.rpm
tomcat7-admin-webapps-7.0.16-1.2.noarch.rpm
tomcat7-docs-webapp-7.0.16-1.2.noarch.rpm
tomcat7-el-2_2-api-7.0.16-1.2.noarch.rpm
tomcat7-javadoc-7.0.16-1.2.noarch.rpm
tomcat7-jsp-2_2-api-7.0.16-1.2.noarch.rpm
tomcat7-lib-7.0.16-1.2.noarch.rpm
tomcat7-servlet-3_0-api-7.0.16-1.2.noarch.rpm
tomcat7-webapps-7.0.16-1.2.noarch.rpm

Eclipse was installed from the following:
eclipse-reporting-indigo-linux-gtk-x86_64.tar.gz

I am attaching my /etc/tomcat7/web.xml file. I have looked at it many 
times, but just can't any problem.

thanks,

Tony Thigpen