On Mon, Feb 25, 2002 at 03:46:56PM -0500, Bill Stoddard wrote:
> I added an AddOutputFilterByType INCLUDES .shtml to my httpd.conf file. Then started
> hitting this segfault because r->content_type is NULL.  I do not have an AddType for
> .shtml.  Any ideas on the best way to handle this w/o segfaulting?

Return OK if we don't have a content_type - which I just committed a
fix for in core.c.  But, as Ian pointed out, if you use .shtml, you
want:

AddOutputFilter INCLUDES .shtml

If you want it to be text/html, you do:

AddOutputFilterByType INCLUDES text/html

HTH.  -- justin

Reply via email to