httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Kippes <>
Subject [users@httpd] Problem with multiple SSIs
Date Mon, 28 Nov 2005 03:42:27 GMT
Is this some strange configuration issue?

I'm using 2.0.55 with Apache configured using the following:

./configure --prefix=/usr/local/www  --enable-cgi --enable-headers
--enable-expires --enable-mime-magic --enable-logio --enable-deflate

I'm using the default httpd.conf with the following addition at the

LoadModule php4_module        modules/
<VirtualHost *:80>
    DocumentRoot /www/webroot
    ErrorLog /www/logs/error_log
    CustomLog /www/logs/access_log common

    AddType text/html .shtml
    AddOutputFilter Includes .shtml

    AddType application/x-httpd-php .php

    <Directory /www/webroot>
      Options +Includes

I can get server-side includes to work individually.  But if I place
a PHP SSI in the middle, it doesn't work--I get no response from the

The following top-level file (test.shtml) works:

PHP:<br> <!--#include virtual="test.php" -->
HTML:<br> <!--#include virtual="test.html" -->

But I get the empty response when I change the file to this:

HTML:<br> <!--#include virtual="test.html" -->
PHP:<br> <!--#include virtual="test.php" -->
HTML:<br> <!--#include virtual="test.html" -->

Any ideas where I'm going wrong?  Is this a possible Apache bug?  Or
just some incorrect setting?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message