tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: can't get #include to work
Date Wed, 16 Nov 2005 21:56:33 GMT
gbaynham@cox.net wrote:
> I'm trying to include a file as my footer section.  I have formatted the section in home.html
as:
> 
> <!--#include file="footer.html"-->
> 
> after doing this and viewing the file through my local_host:8080 i don't see the footer.html
file showing up.
> 
> from what I can see I need to enable SSI within tomcat.  I'm supposed to add 
> 
> Options +Includes
> to my  httpd.conf or .htaccess file.
This is to install SSI for the Apache web server (httpd).

> I'm running tomcat 5.5.9 on a windows XP box, I know, shame on me but it's all I have
right now.
You need to uncomment the SSI servlet definition AND mapping in the 
conf/web.xml file

It sounds like you need to read the Tomcat documentation. The SSI how 
to would be a good place to start.

http://tomcat.apache.org/tomcat-5.5-doc/ssi-howto.html

mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message