0

I just read a little tutorial on SSI and managed to show what I wantedbut I'd like to use an absolute path to point at this file, but for some reason I can only do it with a relative path. Am I doing something wrong?

<!--#include virtual="/menubar/bar.html" -->

Works

But when I use:

<!--#include virtual="http://chusmix.com/menubar/bar.html" -->

I get this error: [an error occurred while processing this directive]

Thanks!

lisovaccaro
  • 32,502
  • 98
  • 258
  • 410

1 Answers1

1

Typically SSIs must refer to local filesystem paths. What you are trying to use isn't an absolute filesystem path - it's an HTTP URL.

nobody
  • 19,814
  • 17
  • 56
  • 77