Forum Moderators: open

Message Too Old, No Replies

SSI from another domain

How do I give other domains access to my files?

         

shoreman

12:08 pm on Nov 7, 2002 (gmt 0)

10+ Year Member



I would like another site to be able to include files from my site.
Somethng like, <!--#include virtual="http://www.mysite.com/myfile.incl"-->

Is this possible using SSI? (I have tried, and get an error.)

idiotgirl

12:19 pm on Nov 7, 2002 (gmt 0)

10+ Year Member Top Contributors Of The Month



SSI means server side includes - files and pieces of code from your server which you can call into other documents on the same server. For security purposes, among other reasons, SSI doesn't work remotely.

BUT - you CAN include pages and files to other web sites using javascript, and certain Perl modules. There are a few scripts that will help you accomplish this available from places like cgi-resources and HotScripts. One is called something like 'The Includer', if I remember correctly. It uses javascript.

Cron jobs and file transfer modules are used sometimes to share whole databases from server to server. That's a bit more complicated, and some host providers will not allow it.

Alternately, there's always iframes as a quick and dirty solution.