SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast Qubito's Avatar
    Join Date
    Sep 2003
    Location
    Mexico
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ssi problem with remote html

    hi i am trying to make a html document to load 2 diferent remote html but something is not working. any one could help me to make this work? thanks in advance

    the url is http://contenido.net/adfolder/adland.html


    the .htaccess code is
    Code:
    AddType text/x-server-parsed-html .html

    the html code that should have inside the 2 remote url includes is

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html>
    <head>

    <link rel="stylesheet" type="text/css" href="css/ad.css" />




    <title>adland</title>
    <meta name=Description content="ads information">
    <meta name=Author content="adland">
    <meta name=ABSTRACT content="Informacion, Mexico, noticias, news information.">
    <meta name=rating content=General>
    <meta name=ROBOTS content=ALL>
    <meta NAME="keywords" CONTENT="noticias, informacion, boletines, prensa, periodicos, celulares, informativo, foros, clima, finanzas, comunidades, rss, feeds.">

    <style>


    #tradeit {
    width: 100%;
    height: 500px;
    }

    #information {
    width: 100%;
    height: 500px;
    }












    </style>

    </head>


    <body>
    <div id="PageContainer">
    <div id="tradeit">
    <!--#include virtual="http://www.informador/index.html"-->
    </div>
    <div id="information">
    <!--#include virtual="http://www.tradeit.net/index.html"-->
    </div>
    </div>

    </body>
    </html>

  2. #2
    CSS & JS/DOM Adept bronze trophy
    Join Date
    Mar 2005
    Location
    USA
    Posts
    5,482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Apache's SSI module can't include remote files.

    You need to use PHP or PERL to do that.
    We miss you, Dan Schulz.
    Learn CSS. | X/HTML Validator | CSS validator
    Dynamic Site Solutions
    Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.


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
  •