Example:

php_admin_value open_basedir /htdocs/bla/bla1/:/htdocs/bla/bla2/


This will limit PHP execution to the two paths specified.

NOTE:
1) The paths MUST be absolute from root, or the chroot of apache if appropriate - it SHOULD be appropriate :-)

2) The paths can not be symlinks - they must be real directory paths

Hope this helps

Rich.


Maxim Vexler wrote:
Hello everyone.

Sorry for the newbies question, I would have searched for it myself if
it wasn't that urgent.
Could you please demonstrate or provide a helpful link on how to limit
script execution (php in this case) to a selected number of path's
(phpBB2 & mysqladmin in this case)

Thank you.

Apache version 2.0.52
php4 as loadable module
OS : windows 2k3.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to