SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Calling SSI

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Dec 2000
    Location
    Ohio
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think I remeber reading somewhere that you can't use SSI to include a file form another site. Is that true and how do get around it?

  2. #2
    Serial Publisher silver trophy aspen's Avatar
    Join Date
    Aug 1999
    Location
    East Lansing, MI USA
    Posts
    12,939
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes.

    You can't include a file from another site with SSI. Only files on your own server.

    However CF and PHP have functions that let you do this. I can only assume ASP does. Perl probably does too. So you can do it. Just not with SSI. SSI is server side includes. You want to do a remote file include.

    Chris Beasley - I publish content and ecommerce sites.
    Featured Article: Free Comprehensive SEO Guide
    My Guide to Building a Successful Website
    My Blog|My Webmaster Forums

  3. #3
    SitePoint Zealot
    Join Date
    Dec 2000
    Location
    Ohio
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Techinally the file is on the same server. I'm running a small free web host and want the users to include an SSI file that would call the advertisment. What would be the easiest way to do this?

  4. #4
    Serial Publisher silver trophy aspen's Avatar
    Join Date
    Aug 1999
    Location
    East Lansing, MI USA
    Posts
    12,939
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This has been asked and answered before on these forums. Try searching for it using keywords.

    Its not using SSI. Its something with the configuration of the web server.

    You may have more luck asking in the server support forum
    Chris Beasley - I publish content and ecommerce sites.
    Featured Article: Free Comprehensive SEO Guide
    My Guide to Building a Successful Website
    My Blog|My Webmaster Forums


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •