Package: libapache2-mod-php5
Version: 5.1.6-5

I have an apache2 with php5 running (packages from Etch).
I use open_basedir /path/to/scripts/ in my configfile. When I try to do
an is_dir('/path/to/scripts/blah/..') I get an:

open_basedir restriction in effect. File (/path/to/scripts/blah/..) is
not within the allowed path (s): (/path/to/scripts/)

But '/path/to/scripts/blah/..' is '/path/to/scripts/' and it IS the
basedir.
When I change open_basedir to /path/to/scripts (without the / at the
end), the is_dir() works like it should.

Is this a correct behavior and I'm missing some important infrmation
about the work of open_basedir or is this a bug?

kind regards
Evgeni Golov

--
   ^^^    | Evgeni -SargentD- Golov ([EMAIL PROTECTED])
 d(O_o)b  | PGP-Key-ID: 0xAC15B50C
  >-|-<   | WWW: http://www.die-welt.net   ICQ: 54116744
   / \    | IRC: #sod @ irc.german-freakz.net

Wie man Menschen tötet, lernt man jeden Abend im Fernsehen, aber wie
man sie macht, DAS ist schlimm.

Attachment: pgp5wQsYrOpe3.pgp
Description: PGP signature

Reply via email to