httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Trutwin <j...@trutwins.homeip.net>
Subject [users@httpd] Odd SSI SegFaults using 2.0.55
Date Tue, 10 Jan 2006 04:27:03 GMT
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message