Forum Moderators: phranque

Message Too Old, No Replies

Include Virtual doesn't work

         

baloo92

4:32 pm on May 26, 2006 (gmt 0)

10+ Year Member



I've searched in several different topics regarding virtual SSI includes, and can't find an answer to my issue. Our server is running Apache, and I can use an "include file" SSI in my pages just fine. Once I try to use the "include virtual" I get nothing--no error or anything. I've tried using:
<!--#include virtual="/pathtofile/file.html" -->,
<!--#include virtual="../pathtofile/file.html" -->,
different extensions, etc., and nothing works. But, like I said, I can use "<!--#include file... -->" to the same exact file just fine. Is something not configured correctly?

coopster

4:54 pm on May 26, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Hi baloo92, welcome to WebmasterWorld.

I moved your thread over here to the Apache forum from the Perl forum as it seems a better fit.

When you include using "file", does the file actually get included?

baloo92

1:48 pm on May 30, 2006 (gmt 0)

10+ Year Member



Thanks for responding. I actually found out what my error was... just need to find a workaround now, if one exists!

coopster

9:26 pm on May 30, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Tell us what your error is and we'll see if we can't help you get it resolved ;)