[thelist] SSI

Jay Fitzgerald jayfitz at bayou.com
Fri Dec 22 20:52:39 CST 2000


I know that to "include" external files within the document root of a
site you can either use "virtual" or "file"....

BUT - let's say you have a linux box that you want to test your code on
prior to putting it LIVE....in doing this you want the changeover to be
as painless as possible so you want to direct the include to use
something like:

<!--#include virtual="http://10.1.1.2/includes/foo.txt" -->

that way when the time does come to put the site live, all you would
have to do is a global search and replace for the IP in all of your docs
and change it to http://www.mysite.com.....

The problem is that the above example does not work....Does anyone know
how this task can be accomplished easily - how to include the full url
of an ip?

Thanks -

Jay

BTW - HAPPY HOLIDAYS TO ALL!





More information about the thelist mailing list