tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amy Roh <>
Subject ? on SSI virtual & file
Date Tue, 03 Apr 2001 19:32:08 GMT
(1) According to NCSA "virtual gives a virtual path to a document on the
server."  So no matter which context you're in, <!--#include
virtual="/test.txt" --> should try to access "test.txt" on your server's
root, right?  Does virtual have to start with "/" always?  I would think
so.  If not, what should be the behavior if it doesn't start with "/",
context based?

(2) Also, NCSA states "file gives a pathname relative to the current
directory."  So obviously <!--#include file="test.txt" --> should try to
access "test.txt" in your current directory.  What about "<!--#include
file="/test.txt" -->"?  Should that look for "test.txt" on your server
root or on webapp?


View raw message