[GLLUG] Apache 1.3.31 server side includes

David Smith smithd98 at msu.edu
Tue Mar 22 01:24:46 EST 2005


I can't seem to get server side includes working.

httpd -l:
  http_core.c
  mod_so.c

excerps from httpd.conf
  LoadModule includes_module    libexec/apache/mod_include.so
  AddModule mod_include.c
  AddHandler server-parsed .shtml
  Options IncludesNoExec
  XBitHack Full

I also added the following to the .htaccess file
  AddHandler server-parsed .shtml
  Options IncludesNoExec
  XBitHack Full

chmod +x index.shtml

index.shtml is not being parsed.
http://davesmith.homedns.org/index.shtml

I noticed the file /libexec/apache/mod_include.so exists.

mod_include.c did not exist.

I downloaded the apache source and moved the mod_include.c to a couple 
of directories, but that didn't resolve the problem.  I also used an 
explicit pathname in httpd.conf but then apache wouldn't start; invalid 
syntax.

I think my modules are being included when apache starts, but I'm not 
certain.  Is there a way to check?

Any other ideas?

--dave
_________________
David Smith

(517) 944-1872
smithd98 at msu.edu
900 Long Boulevard #290
East Lansing MI 48911


More information about the linux-user mailing list