<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 2: Segmentation Fault When Combined With SSI</title><link href="https://sourceforge.net/p/mod-replace/bugs/2/" rel="alternate"/><link href="https://sourceforge.net/p/mod-replace/bugs/2/feed.atom" rel="self"/><id>https://sourceforge.net/p/mod-replace/bugs/2/</id><updated>2008-01-30T21:45:07Z</updated><subtitle>Recent changes to 2: Segmentation Fault When Combined With SSI</subtitle><entry><title>Segmentation Fault When Combined With SSI</title><link href="https://sourceforge.net/p/mod-replace/bugs/2/" rel="alternate"/><published>2008-01-30T21:45:07Z</published><updated>2008-01-30T21:45:07Z</updated><author><name>Tim White</name><uri>https://sourceforge.net/u/cyface/</uri></author><id>https://sourceforge.net806129ec9d3ae2b896f3c7c8fcc5a3d0ceccc53e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When I have mod_replace combined with server side includes, and it is generating a segmentation fault.&lt;/p&gt;
&lt;p&gt;It works fine if the file being server side included is  not named .html, but if it has the .html extention, it generated a segfault in the apache error logs.&lt;/p&gt;
&lt;p&gt;So this works:&lt;/p&gt;
&lt;p&gt;&amp;lt;!--#include virtual="/inc/legal/test.inc"--&amp;gt;&lt;/p&gt;
&lt;p&gt;But this fails:&lt;/p&gt;
&lt;p&gt;&amp;lt;!--#include virtual="/inc/legal/test.html"--&amp;gt;&lt;/p&gt;
&lt;p&gt;Here is the config:&lt;/p&gt;
&lt;p&gt;##### mod_replace #####&lt;br /&gt;
ReplaceFilterDefine wwwtestreplace intype=text/html&lt;br /&gt;
ReplacePattern wwwtestreplace "http://www.qwest.com/ecms/" "http://ecomt095.dev.qintra.com:30001/ecms/"&lt;/p&gt;
&lt;p&gt;##### Document Root #####&lt;/p&gt;
&lt;p&gt;DocumentRoot "/web/uswc-test/htdocs"&lt;br /&gt;
&amp;lt;Directory "/web/uswc-test/htdocs"&amp;gt;&lt;br /&gt;
Options FollowSymLinks Includes&lt;br /&gt;
AddOutputFilter Includes .html&lt;br /&gt;
SetOutputFilter Includes;wwwtestreplace&lt;br /&gt;
AllowOverride None&lt;br /&gt;
Order allow,deny&lt;br /&gt;
Allow from all&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>