+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Jun 2001
    Posts
    7

    server side Includes

    Howdy:
    Problem
    I am trying to serve a page, using a remote source.
    what I have is :
    Apache server:
    .htaccess with the following:

    Options Indexes FollowSymLinks Includes
    AddType application/x-httpd-cgi .cgi
    AddType text/x-server-parsed-html .html
    AddType text/x-server-parsed-html .htm


    And my .html with the include:


    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body bgcolor="#FFFFFF">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td><!--#include file="http://***.***.***/****" --></td>
    </tr>
    <tr>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    </tr>
    </table>
    <p>  </p>
    </body>
    </html>


    and it does not work
    {*=the server name and page.}

    Anybody out there able to shed some light?

    Thanks
    Kilroy

    Ps the error is get is :
    [an error occurred while processing this directive]

  2. #2
    Senior Member golfcart's Avatar
    Join Date
    Jan 2000
    Location
    Michigan
    Posts
    748
    Try this line instead:
    <!--#include virtual="http://***.***.***/****" -->

  3. #3
    Junior Member
    Join Date
    Jun 2001
    Posts
    7
    Do I need to add anything to the htaccess file?
    I put virtual referance in there, but same error
    [an error occurred while processing this directive]

    Thanks for replying
    Kilroy

  4. #4
    Member Dovaka's Avatar
    Join Date
    Nov 2000
    Location
    Worcester, Ma, USA
    Posts
    213
    im havingthe same problem with my page ive tried tons of different tags and no luck

  5. #5
    Junior Member
    Join Date
    Apr 2001
    Location
    Idaho
    Posts
    20
    I don't believe you can use the "http://www.xxx/......

    Instead of <!--#include virtual="http://***.***.***/****" -->

    try <!--#include virtual="/your.txt"-->
    or <!--#include file="your.txt"-->

    If you are trying to include a file from another site then you will have to use a script such as The Executer

    And I am sure you know this...but, on some sites you might have to name the ssi page with a .shtml filename extension.


    [This message has been edited by Cabinetmaker (edited 07-14-2001).]

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







New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke