View Single Post
  #14 (permalink)  
Old 02-03-2005, 03:57 PM
curtiss's Avatar
curtiss curtiss is offline
Moderator
 
Join Date: May 2003
Posts: 1,438
OK. New problem -

I tested out my SHTML pages to see if they would work correctly. First, they were simply interpreted as txt pages. It showed me the code that was supposed to be in the file, something like this:
Code:
<HTML>
<HEAD>
<TITLE>DCHelp - Official DCHelp News</TITLE>
<META name="description" content="">
<META name="keywords" content="">
<META name="generator" content="CuteHTML">

<!--#include virtual="./DCTop.shtml"-->

<!--#include virtual="/cgi-bin/yabb/YaBB.pl?board=news;action=news"-->

<!--#include virtual="./blank_right.html"-->

<!--#include virtual="./DCBottom.shtml"-->

</BODY>
</HTML>
Then, I searched the web and found some info on setting up SSI through my httpd.conf file. I added Options +Include, and then added two more lines about adding shtml files. Now, when I navigate to the SHTML pages, the SSI calls are not working. For the page above, I get a completely blank page.

I've checked my error log and found the following info that seems to be pertinent:
Code:
[Thu Feb 03 14:00:14 2005] [warn] [client 127.0.0.1] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed
[Thu Feb 03 14:29:42 2005] [warn] child process 4194 still did not exit, sending a SIGTERM
[Thu Feb 03 14:29:42 2005] [notice] caught SIGTERM, shutting down
[Thu Feb 03 14:31:34 2005] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Feb 03 14:31:34 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
What am I doing wrong? I've seen info telling me I need mod_include, but I haven't been able to find it in any of my update packages. Is mod_include a separate module that needs to be installed, or is it something that should have been in my apache2 package. Please help.

EDIT - I just wanted to add: I tried PHP includes, and they are working just fine. It's just SSI that doesn't seem to be working.
__________________
I hate Internet Explorer! Anyone with me?

Last edited by curtiss; 02-03-2005 at 04:12 PM.
Reply With Quote