|
Posted by Jonathan N. Little on 04/03/07 22:11
Joe (GKF) wrote:
<snip>
> <!--#include virtual="/folder0/anotherfile.txt" -->
> The virtual argument is used to begin the search for files from the ROOT
> level.
>
Not sure what you mean there. Using a leading "/" will put it into the
Document Root, not the absolute root, whatever is set be the webserver.
If "public_html" is the Document Root then
<!--#include virtual="/some.file" -->
will mean "some.file" is in the "public_html" folder. On the file system
"public_html" may be "/var/www/clientsites/example.com/public_html"
If OP's "public_html" is his Document Root, rather than fussing with the
relative path just go absolute from Document Root and be done with it,
then it won't matter where the calling SHTML doc is.
<!--#include virtual="/text_files_folder/show_this_file.txt" -->
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|