httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Hriso" <pe...@sagient.com>
Subject RE: SSI
Date Thu, 09 May 2002 13:50:55 GMT
Virtual doesn’t work either, it has to be in the set up of the SSI’s
because it doesn’t parse any SSI commands either  
<!--#echo var="SERVER_SIGNATURE" -->  or <!--#echo var="DATE_LOCAL" -->
 
 
-----Original Message-----
From: Fernando Reuter Wendt [mailto:fernando@admijui.unijui.tche.br] 
Sent: Thursday, May 09, 2002 6:45 AM
To: 'users@httpd.apache.org'
Subject: RES: SSI
 
I use virtual directive, and it works fine.
 
If it´s on document root:
<!--#include virtual="inc.shtml" --> 
 
Or wathever:
<!--#include virtual="/dir/inc.shtml" -->
 
+---------------------
 Fernando A. R. Wendt
-----Mensagem original-----
De: Peter Hriso [mailto:peteh@sagient.com]
Enviada em: quinta-feira, 9 de maio de 2002 10:37
Para: Apache
Assunto: SSI
I have installed the default Apache web server on a red-hat Linux server
1.3.22, comes with red hat, but for some reason the Server Side Includes
are not being parsed?
 
The httpd.conf file has the following
 
LoadModule includes_module    modules/mod_include.so
AddModule mod_include.c
 
 
# To use server-parsed HTML files
#
AddType text/html .smthl
AddHandler server-parsed .shtml
 
as well as
 
 
<Directory "/var/www/html">
        Options Indexes Includes FollowSymLinks
        AllowOverride None
        Allow from all
        Order Deny,Allow
</Directory>
 
 
The file I'm trying to load has the .shtml extension and using
<!--#include file="inc.shtml" --> to load the file
 
Do I need to re-install Apache or is there something else I can look at
to get SSI working?  Any help would be appreciated.
 
Thanks in Advance!
 
-Pete
 

Mime
View raw message