#14388 [Com]: include_path in virtual breaks SSI

From: Date: Wed, 11 Sep 2002 19:10:31 +0000
Subject: #14388 [Com]: include_path in virtual breaks SSI
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19186@lists.php.net to get a copy of this message
ID: 14388 Comment by: lars.slettjord@cc.uit.no Reported By: yanek@korff.org Status: Feedback Bug Type: Scripting Engine problem Operating System: FreeBSD 4.4-STABLE PHP Version: 4.0.6 New Comment: I have tested PHP 4.2.3 today, and the problem seems to be solved. I am able to assign different include_paths on two virtual servers, and SSI still works. Thank you, this was a _really_ annoying bug. Previous Comments: ------------------------------------------------------------------------ [2002-09-03 18:37:31] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip There was some xbithack related fix recently..please try the snapshot. ------------------------------------------------------------------------ [2002-05-02 07:47:34] venaas@php.net This seems to be a real problem and not solved, so I'm reopening ------------------------------------------------------------------------ [2002-05-02 04:23:04] lars.slettjord@cc.uit.no Apache 1.3.23, php 4.1.2, HP-UX 10.20 and Linux (RedHat 7.1) I have the same problem. I want to have both PHP and SSI working on my server. I don't want to use PHP to generate SSI, I just want to use both PHP and SSI separately for different things. I have tried various configurations, but when I use 'php_value include_path ".:/path/htdocs/php-mal"' anywhere in my httpd.conf SSI just stops working. The server outputs the SSI file unparsed. A typical configuration example looks like this: <Directory "/path/htdocs"> Options IncludesNOEXEC FollowSymLinks XBitHack full php_value include_path ".:/path/htdocs/php-mal" </Directory> I have tried to move php_value around, but this does not help. If I set the include_path in php.ini everything works as expected and I can use both PHP and SSI. But I _really_ need to assign a different include_path for php for each of my virtual web-servers, and I need both PHP and SSI. I have verified this behaviour both on a HP-UX server with several virtual hosts, and on a Linux server without virtual hosts, both running Apache 1.3.23 and php 4.1.2. The problem reported at <URL:http://marc.theaimsgroup.com/?l=apache-httpd-users&m=101233512816689&w=2> might be related. I would be really grateful if someone could try to reprocuce this error, and even more grateful for a solution. But I have not even been able to find out if this error is caused by php, mod_include or something in the apache core. What more could I do to help you solve this problem? ------------------------------------------------------------------------ [2002-01-03 18:01:12] lobbin@php.net No feedback. Closing. ------------------------------------------------------------------------ [2001-12-13 06:21:46] sander@php.net Apache 1.3.x doesn't support multiple filters over one file. You can't parse the output of a PHP file through SSI. (Apache 2.x can do that) Are you sure that isn't the case? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14388 -- Edit this bug report at http://bugs.php.net/?id=14388&edit=1

« previous php.bugs (#19186) next »