Enabling SSI
Mark Short
mark at transparentsolutions.com
Wed Apr 17 18:56:25 CDT 2002
Yep, that is what it means.
You did restart Apache after changing your options, right?
You might want to try this in html folder instead of cgi-bin folder though.
If SSI is working and your SSI code is bad, you will get an error, if it includes it that means
that it isn't enabled for some reason.
-----Original Message-----
From: owner-kclug at marauder.illiana.net
[mailto:owner-kclug at marauder.illiana.net]On Behalf Of Seth Dimbert
Sent: Wednesday, April 17, 2002 1:46 PM
To: kclug at kclug.org
Subject: RE: Enabling SSI
Joe, your code didn't work either. :( But, again, I can see the include statement in the doc
source. Does that indicate that the server is not parsing?
-SD
-----Original Message-----
From: Joe Brouhard, MCP [mailto:jbrouhard at centurytel.net]
Sent: Wednesday, April 17, 2002 1:34 PM
To: s.dimbert at fhmr.com
Cc: kclug at kclug.org
Subject: RE: Enabling SSI
> Nontheless, my .shtml page isn't showing the results of the command,
>
> <!--#include virtual="/var/www/cgi-bin/news/news.txt" -->
>
Having worked with SSI's, loks like your line up there is incorrect.
You trying to get.. Say.. Index.shtml to run from /var/www/htdocs/ ?
If so, the virtual include should look something like this:
<!--#include virtual="cgi-bin/news/news.txt" -->
Reason why is because Apache doesn't recognize the /var/www directory from the web interface, but
in PHP it does. CGI and SHTML don't work in that vasion, at least that's the way I was looking at
it.. Someone correct me if I'm wrong
Try the command I put up, and see if it works... It ought to, since it worked for me before :)
Hope this helps, man..
Joe Brouhard
Web Designer - Used CGI, now migrating to PHP :-)
jbrouhard at centurytel.net
More information about the Kclug
mailing list