Can't get HTML include to work
Posted: Mon Aug 03, 2009 10:11 pm
I'm having a problem getting HTML include to work.
My directory structure is
/home/domain/public_html/work/Orders/subfolder/
The file I want the include in is in subfolder, and the file to be included is in work. (After I have things working, I plan to move everything from work up to public_html, but I don't think that's relevant here.)
I've tried
<!--#include virtual="/home/domain/public_html/work/file.htm"-->
and
<!--#include virtual="/../../file.htm"-->
and varying numbers of "/..", and "include file", and with and without a space before -->.
I keep getting "An error occured while processing this directive."
Any suggestions?
My directory structure is
/home/domain/public_html/work/Orders/subfolder/
The file I want the include in is in subfolder, and the file to be included is in work. (After I have things working, I plan to move everything from work up to public_html, but I don't think that's relevant here.)
I've tried
<!--#include virtual="/home/domain/public_html/work/file.htm"-->
and
<!--#include virtual="/../../file.htm"-->
and varying numbers of "/..", and "include file", and with and without a space before -->.
I keep getting "An error occured while processing this directive."
Any suggestions?