.:./include:../include:../../include
| From: | Hojtsy Gabor | Date: | Thu, 02 Nov 2000 08:11:19 +0000 |
| Subject: | .:./include:../include:../../include | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-2688@lists.php.net to get a copy of this message | ||
Hi!
Do anyone have an answer why this is not
working on our mirror ??
There is a .htaccess file in the mirror
webroot dir:
<IfModule mod_php3.c>
php3_include_path .:./include:../include:../../include
</IfModule>
<IfModule mod_php4.c>
php_value include_path .:./include:../include:../../include
</IfModule>
DirectoryIndex index.php index.php3
AddType application/x-pilot .prc .pdb
This is correct. There is a .htaccess in the manual
dir:
<IfModule mod_php3.c>
php3_include_path .:../include
</IfModule>
<IfModule mod_php4.c>
php_value include_path .:../include
</IfModule>
DirectoryIndex manual.php manual.php3
Well, this dir do not need ../../include I know.
Finally there is one .htaccess in /manual/hu:
<IfModule mod_php3.c>
php3_include_path .:./include:../include:../../include
</IfModule>
<IfModule mod_php4.c>
php_value include_path .:./include:../include:../../include
</IfModule>
DirectoryIndex index.php index.php3
AddType application/x-pilot .prc .pdb
Then PHP sees the include path as .:../include in manual/hu
(info from phpinfo() function). But this is not the correct
line from /manual/hu/.htaccess.
We are using Apache 1.3.9, with mod_php3 [3.0.18]
The server in question is our hungarian PHP mirror site:
http://phpnet.externet.hu/
http://phpnet.externet.hu/manual/hu prints out
an error (and so the other international manuals).
Thanks for your help,
Goba@php.net