Discussion: Simple SSI
Afficher un message
Vieux 06/02/2007, 07h18   #1
wiggledbits
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Simple SSI

I want to get SS includes going on my Apache 2.x but I seem to be missing
something.

I have
<Directory "/home/web/blah/blah">
Options +Includes
AddOutputFilter INCLUDES .shtml
AddType text/html .shtml
AddHandler server-parsed .shtml
</Directory>

I have tried without the + on Includes.
I have tried these directives in the vhost section.
I can't get the files parsed. I have a test file
<html>
<head>
<TITLE> Test of SSI </TITLE>
</head>
<body>
<center>
<h1><!--#config errmsg="mod_include is unable to parse your code!"-->
Today is <!--#echo var="DATE_LOCAL"-->
<!--#config timefmt="%B %d, %y"-->
<!--#include file="include_bttm.html-->
<!--#include file="/home/web/blah/include_bttm.html>
</center>
</body>
</html>
and only get "Today is" in the browsers.
Nothing in the error log and access log shows the GET!??
What am I missing??
Thanks.


  Réponse avec citation
 
Page generated in 0,04717 seconds with 9 queries