I had a request to enable SSI on one of the domains I manage on a
2.0.55 server (built from source) on Debian Linux.
SSI behavior can only be described as "odd".
The developers have .shtml files that contain a number of <!--
#include file="..." --> directives.
Here is a real example:
<!--#include file="struc/struc-01.html" -->
<!--#include file="includes/menu-utility.html" -->
<!--#include file="struc/struc-02.html" -->
<!--#include file="includes/menu-pic-0.html" -->
and so on...
I verified the existence and permission of all files. This causes a
Seg Fault in the apache logs though:
[Mon Jan 09 22:05:49 2006] [notice] child pid 10562 exit signal
Segmentation fault (11)
SSI seems to work ok in other situations though - I can display the
current date/time without any issues. I can display the date then
include a single file using one of the above directives, and vice
versa (display date after an include), but the moment I do two
#include's as above Apache chokes.
I enabled SSI by putting the following in a .htaccess in the top-level
directory for the domain:
Options +Includes
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Any thoughts? Any way to get better debugging information?
I'm probably going to tell them to just do this in PhP, but I'd like
to figure out what the problem is first.
Thanks,
Josh
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]