httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex \"Sniper\" Togstad" <sni...@3dretreat.com>
Subject Re: Help with basic SSI
Date Fri, 22 Feb 2002 00:25:57 GMT
First,

Take ALL the tags out of your doc  besides the content... IE.. take out the
<html>,<body>, and <head> tags... just leave the <font> and <table>
tags...etc.

Second,
Your SSI tag looks fine, just make sure that txt file is in the same sir as
the file your making it attach too.

Third,

Make sure the doc is saved as ".shtml" instead of html, or htm...

Good Luck!

Alex Togstad

----- Original Message -----
From: "Joshua Slive" <joshua@slive.ca>
To: <users@httpd.apache.org>
Sent: Thursday, February 21, 2002 4:25 PM
Subject: Re: Help with basic SSI


>
> On Thu, 21 Feb 2002, Scott Miller wrote:
> > I created the following small shtml page.
> > <HTML>
> > <HEAD><TITLE>FORM</TITLE>
> > </HEAD>
> > <BODY>
> > THIS IS A TEST<BR><BR><BR>
> >
> > <!--#include file="info.txt" -->
> >
> > </BODY>
> > </HTML>
> >
> > I created the following info.txt in the same directory.
> >
> > lname:miller
> > fname:scott
> > address:skldfdasfdsafsdfsd
> >
> > All get is the this a test displayed in my browser. no errors appear in
my
> > error log.
> >
> > I tried subsituting virtual for file.  No better.
>
> Virtual is better, but my guess is that the file is not even being parsed
> for includes.  Do a "view-source".  If you see the <!--# still in there,
> then apache is not properly configured to parse the file.
>
> For information on how to configure apache for includes, see:
> http://httpd.apache.org/docs/howto/ssi.html
>
> Joshua.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message