[GLLUG] Apache 1.3.31 server side includes

Szymon Machajewski SMachaje at grcc.edu
Tue Mar 22 10:06:21 EST 2005


A few questions:

Does apache start without error ?
What version of apache are you using ? 1.3, 2.0 ?
If your install dir is /usr/local/apache (replace with yours), do you
have the .so file in:
/usr/local/apache/libexec/apache/mod_include.so ?
(sounds like apache 1.3)

Consider adding AddType line.

Overall, why use server side parsing ?  would you consider instead
using PHP ?  this would be a far more flexible and powerfull tool.

Sincerely,

Szymon Machajewski 

____________________________________________
Zend Certified Engineer (PHP)
Microsoft Certified Solution Developer
RedHat Certified Technician
Certified Novell Administrator
MySQL Core Certification
CompTIA Linux+ Certification
____________________________________________
Computer Whatchamajigger  :: Grand Rapids Community College

____________________________________________
Until you spread your wings,
You'll have no idea how far you can walk.

http://www.despair.com/limitations.html

>>> David Smith <smithd98 at msu.edu> 03/22/05 1:24 AM >>>
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
_______________________________________________
linux-user mailing list
linux-user at egr.msu.edu 
http://www.egr.msu.edu/mailman/listinfo/linux-user


More information about the linux-user mailing list