<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 2: Segmentation Fault When Combined With SSI</title><link>https://sourceforge.net/p/mod-replace/bugs/2/</link><description>Recent changes to 2: Segmentation Fault When Combined With SSI</description><atom:link href="https://sourceforge.net/p/mod-replace/bugs/2/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 30 Jan 2008 21:45:07 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/mod-replace/bugs/2/feed.rss" rel="self" type="application/rss+xml"/><item><title>Segmentation Fault When Combined With SSI</title><link>https://sourceforge.net/p/mod-replace/bugs/2/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim White</dc:creator><pubDate>Wed, 30 Jan 2008 21:45:07 -0000</pubDate><guid>https://sourceforge.net806129ec9d3ae2b896f3c7c8fcc5a3d0ceccc53e</guid></item></channel></rss>