[BlueOnyx:03108] Re: Question about open_basedir paths

Darrell D. Mobley dmobley at uhostme.com
Tue Dec 15 09:54:51 -05 2009


> -----Original Message-----
> From: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it]
> On Behalf Of Ken Marcus - Precision Web Hosting, Inc
> Sent: Monday, December 14, 2009 10:41 PM
> To: BlueOnyx General Mailing List
> Subject: [BlueOnyx:03105] Re: Question about open_basedir paths
> 
> ----- Original Message -----
> From: "Darrell D. Mobley" <dmobley at uhostme.com>
> To: "'BlueOnyx General Mailing List'" <blueonyx at blueonyx.it>
> Sent: Monday, December 14, 2009 7:09 PM
> Subject: [BlueOnyx:03104] Question about open_basedir paths
> 
> > File(/var/lib/php/session) is not within the allowed path(s):
> > (/tmp/:/var/lib/php/session/:/home/.sites/106/site15/)
> 
> Try changing it from
> /tmp/:/var/lib/php/session/:/home/.sites/106/site15/
> to
> /tmp:/var/lib/php/session:/home/.sites/106/site15
> 
> See if that makes a difference.

Yes, that indeed did work, but that isn't really how open_basedir was
designed to be used.  The trailing slash allows you to eliminate the
possibility of directory wildcards.  With the path set, for example, as
/tmp, it would match /tmp, /tmpfoo, /tmptwo, etc.

So I have to wonder if the program in question (in this instance, Joomla
1.5) is in error by using initial slashes in its testing path, or if it is
the PHP used by default on Blue Onyx.




More information about the Blueonyx mailing list