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 14:29:00 GMT
It has to be in the set up of apache somewhere because its not parsing
any echo commands like <!--#echo var="DATE_LOCAL" --> or <!--#echo
var="SERVER_SIGNATURE" -->



-----Original Message-----
From: Peter Hriso [mailto:peteh@sagient.com] 
Sent: Thursday, May 09, 2002 8:25 AM
To: users@httpd.apache.org
Subject: RE: SSI

Well, I would think it would be something stupid like that but not the
case I just fat fingered the email here is my AddType

AddType text/html .shtml
AddHandler server-parsed .shtml 


-Pete

-----Original Message-----
From: Pete Nelson [mailto:pete.nelson@ci.stpaul.mn.us] 
Sent: Thursday, May 09, 2002 7:14 AM
To: users@httpd.apache.org
Subject: RE: SSI

Did you copy and paste your running config into your message, or retype
it?  There is a spelling error that might explain it - 

  AddType text/html .smthl

(If this is the case, it's especially amusing to me after fat-fingering
my password 5 times this morning!)

Good Luck!

--
Pete Nelson, Web Developer
<pete.nelson@ci.stpaul.mn.us>
http://www.ci.stpaul.mn.us/

>>> peteh@sagient.com 05/09/02 08:50AM >>>
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
 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message