[thelist] SSI

martin burns martin at members.evolt.org
Sat Dec 23 03:56:25 CST 2000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 01:19 23/12/00, Jay Fitzgerald wrote:
><!--#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 canonical form for virtual includes is a root relative path:
<!--#include virtual="/includes/foo.txt" -->

As long as the paths on www.mysite.com map onto
10.1.1.2, then you should be fine, it will work on both.


>The problem is that the above example does not work...

I'm surprised that it works on one and not on the other.

Cheers
Martin


________________
Martin Burns, Content Management Consultant
tel: +44 (0)778 068 6418
http://evolt.org/index.cfm?menu=9&uid=32
http://www.easyweb.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
Comment: PGP Key ID: 0xA835CCCB

iQA/AwUBOkRijXHoHnCoNczLEQIf1ACgvzMYJnykYGMfwpHtXoG7MjbOgJ0An1Es
ClXEuHQHYe8Srr5I/4ZD3B+Q
=HKVg
-----END PGP SIGNATURE-----





More information about the thelist mailing list