-
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]
-
Senior Member
Try this line instead:
<!--#include virtual="http://***.***.***/****" -->
-
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
-
Member
im havingthe same problem with my page ive tried tons of different tags and no luck
-
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).]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks