ID: 14209
Comment by: jk at mediate dot sk
Reported By: teo at gecadsoftware dot com
Status: No Feedback
Bug Type: Other web server
Operating System: SuSE7.1/kernel-2.4.10/tux-2.1.0
PHP Version: 4.0CVS-2001-11-24
New Comment:
This is not a bug...
You must properly configure php.ini too. It seems like tux includes php
files. You must set up include_dir = "/" (tux is running in chrooted
environment). Also You must copy php4.tux file to every virtual host
directory:
# ls -l /var/www/html
drwxr-xr-x 2 root root 4096 Aug 19 04:19
virtdomain1.com
lrwxrwxrwx 1 root root 14 Aug 18 10:35 virtdomain3.com
-> virtdomain2.com
drwxr-xr-x 2 root root 4096 Aug 18 12:59
virtdomain2.com
ls -l /var/www/html/virtualdomain1.com
-rw-rw-r-- 1 root root 30 Aug 18 10:34 index.html
-rw-rw-r-- 1 root root 43 Aug 19 04:35 info.php
-rw-rw-r-- 1 root root 0 Aug 18 13:00 php4.tux
lynx http://www.virtualdomain1.com/php4.tux?/info.php
lynx http://www.virtualdomain2.com/php4.tux?/info.php
This works very well for me.
Previous Comments:
------------------------------------------------------------------------
[2002-11-13 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-10-28 06:42:40] iliaa@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
------------------------------------------------------------------------
[2001-11-24 11:12:27] teo at gecadsoftware dot com
[yep, I know it's quite experimental that extension,just want to
contribute to make it work]
If I do virtual_server=0 then it works just fine. When it's on (1) it
cannot resolve the filename.
I guess when doing:
file_handle.filename = SG(request_info).path_translated;
[php_tux.c:279]
that path is only relative to document root and doesn't contain the
virtual server name?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14209&edit=1