#18696 [Opn->Dup]: Only the first include of php file from shtml works

From: Date: Mon, 09 Sep 2002 11:11:54 +0000
Subject: #18696 [Opn->Dup]: Only the first include of php file from shtml works
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18751@lists.php.net to get a copy of this message
ID: 18696 User updated by: newsp@jippii.fi Reported By: newsp@jippii.fi -Status: Open +Status: Duplicate Bug Type: Apache2 related Operating System: Solaris 8 PHP Version: 4.2.2 New Comment: Duplicate to 17868 Previous Comments: ------------------------------------------------------------------------ [2002-08-17 12:42:24] aaron@php.net This looks like a duplicate of bug 17868. Take a look over there and see if they match what you are seeing. ------------------------------------------------------------------------ [2002-08-02 02:37:19] newsp@jippii.fi I have this wierd problem: Only the first include of php file from shtml works ok, following ones are not parsed at all. Is this a bug of apache2 support or something I have misconfigured? For example if I have following files: -- test.shtml -- <!--#include virtual="test.php"--> <!--#include virtual="test.php"--> -- test.shtml -- and -- test.php -- <? print "a"; ?> -- test.php -- the output of test.shtml is: a<? print "a"; ?> I have tried following configurations: -- AddOutputFilter INCLUDES shtml AddType application/x-httpd-php .php -- and -- AddOutputFilter INCLUDES;PHP shtml -- and -- AddType application/x-httpd-php .php AddHandler server-parsed .shtml -- And the result is always the same. Is this a bug or feature? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18696&edit=1

« previous php.bugs (#18751) next »