dcsimg
!--#include virtual="stub.html" --cannot work in welcome files
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   k_z
Posted On:   Sunday, January 16, 2005 06:39 PM

title I have integrated apache2.0 and tomcat 5.0.28 ,all things go well except the SSI directive. I have a welcome file in the directory /ROOT/test/.The content in it is as follows: this is index.html the file stub.html is in the same directory .when i visit the file with the URL:http://www.mycom.com/test/index.html.The file "stub.html" can be included successfully.but when i use http://www.mycom.com/test/ ,just the content in index.html apear,"stub.html" does not been included. in the apache httpd.conf i have wrote: DirectoryIndex index.html index.htm index.jsp .var in the tomcat web.xml ,there is folloing   More>>
title

I have integrated apache2.0 and tomcat 5.0.28 ,all things go well except the SSI directive.
I have a welcome file in the directory /ROOT/test/.The content in it is as follows:






this is index.html


Apache Tomcat/5.0.30 - Error report

HTTP Status 404 - /stub.html


type Status report

message /stub.html

description The requested resource (/stub.html) is not available.


Apache Tomcat/5.0.30

[an error occurred while processing this directive]



the file stub.html is in the same directory .when i visit the file with the URL:http://www.mycom.com/test/index.html.The file "stub.html" can be included successfully.but when i use http://www.mycom.com/test/ ,just the content in index.html apear,"stub.html" does not been included.

in the apache httpd.conf
i have wrote:
DirectoryIndex index.html index.htm index.jsp .var

in the tomcat web.xml ,there is folloing segment:

index.html
index.htm
index.jsp


Can anyone tell me what is the problem?i have "googled" many pages,but got nothing about this.
thanks in advance.

   <<Less

Re: !--#include virtual="stub.html" --cannot work in welcome files

Posted By:   k_z  
Posted On:   Monday, January 17, 2005 04:49 PM

Does anybody know what the problem is?
About | Sitemap | Contact